Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"new" rounding function.
#9
Aga, you're right about floating point. However, you can usually avoid using floating point if you keep all your values as whole numbers internal to your program with implied decimals. In order not to go nuts as to which values have what number of implied decimals, set them all to 3 implied decimals which I have found to be sufficient for almost all cases.
*****
Reply


Messages In This Thread
"new" rounding function. - by Agamemnus - 01-30-2004, 12:06 AM
"new" rounding function. - by oracle - 01-30-2004, 05:20 AM
"new" rounding function. - by Moneo - 02-01-2004, 05:27 AM
"new" rounding function. - by Agamemnus - 02-01-2004, 08:54 PM
"new" rounding function. - by Plasma - 02-01-2004, 11:08 PM
"new" rounding function. - by Agamemnus - 02-02-2004, 01:53 AM
"new" rounding function. - by Moneo - 02-02-2004, 09:02 AM
"new" rounding function. - by Agamemnus - 02-02-2004, 09:35 AM
"new" rounding function. - by Moneo - 02-04-2004, 09:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)