ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Bug Reports (https://www.esoui.com/forums/forumdisplay.php?f=187)
-   -   [fixed] 3.3 ZO_LocalizeDecimalNumber broken? (https://www.esoui.com/forums/showthread.php?t=7543)

ArtOfShred 01/09/18 02:57 AM

[fixed] 3.3 ZO_LocalizeDecimalNumber broken?
 
Is there a new function intended to replace ZO_LocalizeDecimalNumber() in 3.3? I might have missed something, but I have a few functions calling it and they throw errors on the PTS.

Looked into it, and looks like line #130 in esoui/libraries/globals/localization.lua:
Code:

local decimalSeparatorIndex = zo_strfind(amountString, "%"..DIGIT_GROUP_DECIMAL_REPLACER) -- Look for the literal separator
is referencing a DIGIT_GROUP_DECIMAL_REPLACER which doesn't have a defined value anymore.

ZOS_ChipHilseberg 01/09/18 09:25 AM

Yup, I sure did break this. I'll fix it up.

ArtOfShred 01/09/18 12:22 PM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 33550)
Yup, I sure did break this. I'll fix it up.

Hehe, thanks!


All times are GMT -6. The time now is 08:29 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI