Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with value of a double
#2
It is common problem in floating point calculations in all languages.

Macro Macro2033
Code:
Copy      Help
,Remainder=Round(Remainder 2) ;;0.1999999... -> 0.20
,out F"{chipValue} {chipAmount} {Remainder}"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)