Quantcast
ESOUI - Search Results
Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: merlight
Forum: Bug Reports 03/02/19, 05:46 AM
Replies: 11
Views: 3,403
Posted By merlight
Then it means ZO_LocalizeDecimalNumber has a new...

Then it means ZO_LocalizeDecimalNumber has a new bug.



No it's not ESO or Lua specific. Here Python:

>>> 308.09 * 100
30808.999999999996
>>> 303.9 * 100
30389.999999999996
Forum: Bug Reports 03/01/19, 07:41 PM
Replies: 11
Views: 3,403
Posted By merlight
It's not misbehaving floor function. It's because...

It's not misbehaving floor function. It's because 308.09 cannot be expressed exactly in base 2 (as a sum of powers of two), thus cannot be stored exactly as 64-bit floating-point number. The nearest...
Showing results 1 to 2 of 2