1

I'm trying to understand why subtracting two numbers with both 2 decimals causes a value with 18 decimals.

Subtract 185.84 from 185.85 = 0.009999999999990905

diff = float(value) - float(device_compare_value)

Thanks in advance

RvdM
  • 95
  • 1
  • 7

0 Answers0