79702143

Date: 2025-07-15 13:31:46
Score: 1.5
Natty:
Report link

Most programming languages can't allocate full float number correctly and so it loses precision.

If you know how many decimal places your number must have, I suggest you to convert to real number and than format it back for floating number.

You can test it with javascript in your browser console by adding 0.1 + 0.7.

Browser console sum

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alberi De Paula