mardi 13 janvier 2015

InfoPath rounding algorithm



Can someone tell me what kind of rounding algorithm is used in InfoPath? Hereby some examples that I see in InfoPath when rounding.



  • 0.2245 => 0.224

  • 0.2695 => 0.269

  • 0.3145 => 0.315


If it was normal rounding, than all numbers would be rounded up because they are ending on a 5.


If it was banker's rounding, it would round to the next even number which is not the case for 0.2695 because 9 is not even.


So I have no clue which algorithm is used to round the numbers.








0 commentaires:

Enregistrer un commentaire