The class supports limiting the number of decimal digits and thus avoid test failures on different arch. when comparing floats etc.