-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Calculation error #134
Comments
can i fix it |
It is practically 0.9999999. |
Huh? It's gradual depreciation |
But, it's divide into two steps, and convert to float, so that it will lose a little bit accuracy among the process. |
Its not an int to float conversion its all doubles and stays doubles. |
1 / 9 * 9 == 0.9999999
It should actually be this
1 / 9 * 9 == 1
The text was updated successfully, but these errors were encountered: