Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] strange results with decimal!

From: moeller_thorsten::gmx::de at: 10-Jan-2002 11:47

Hi rebolers, i have a script that gives to produce an output when there is a difference between two values. Therefore i read a textfile, convert some fields to decimal values and add them together to one or another sum. if a specific condition comes true they are are compared should be 0 (checked manually with a small amount). For some reason i get results like "-1.3476653466456E-12". Does anybody understand this? Any suggestions will be appreciated!! Thorsten -- -------------------------------------------------------------------------------------- Few can foresee whither their road will lead them, till they come to it's end.