0
Wrong result of multiplication
What could be the reason if I am trying to make a simple multiplication 415 * 1.305 the result is 541.5749999999999 instead of 541,575? What's wrong with the math?
3 replies
-
Hi welcome to Ninox community!
You can use the round function:
round(number, digits)
To round a given number with the given number of digits.In your case, round (415 * 1.305, 3)
-
, thanks a lot!
I have done a little bit other way (415 * (1.305*100))/100. It was easier in my case coz I need to round to 2 digits and with 541.5749999999999 the rounding was incorrect. But still it seems like a bug or I am missing smth?
Content aside
- 1 yr agoLast active
- 3Replies
- 68Views
-
3
Following