Effectively you don't have complete control of the number of decimals.
The code extend the min and max value by a small number that is related to the precision of the decimals value +- the last bit of their digital representation in the computer.
The main idea is that a good student response should not be excluded by converting its base ten representation of the response (i.e 3.1416) in its binary computer representation.