# Fractions vs decimal values

By default, AlgebraKiT requires the student to give their answers in exact form. In case the answer is a fraction with a finite decimal representation, the student is also allowed to write the decimal representation of the fraction as final answer. Both types of answers (fraction form and decimal form) are correct and finished.

In case you want to enforce the student to write the answer in a specific form, you can use one of the following modes:

• fractions_enforced: student is always required to write the fractional form (e.g. $\frac{7}{5}$)
• decimals_enforced: student is always required to write the decimal form (e.g. $1.4$)
• nf_rational: student is always required to write the simplified rational form (e.g. $1\frac{2}{5}$)