Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 03:07:07 +0000



Post From: [ACSIL] float conversions

[2013-12-18 11:47:30]
mainframer - Posts: 9
ejtrader: I appreciate your response, but your code is actually the same as mine.

The problem here is a fundamental rule of floating point computation which states that whenever you perform any mathematical change (add, subtract, multiply, etc.) on any float, you lose a small ammount of decimal information, and those small errors eventually add up.