A number is rational if it can be written as p/q​ with q≠0 and can be simplified to a decimal form.