Quantcast [fixed] 3.3 ZO_LocalizeDecimalNumber broken? - ESOUI
Thread Tools Display Modes
01/09/18, 02:57 AM   #1
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 67
[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.
 
01/09/18, 09:25 AM   #2
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 527
Yup, I sure did break this. I'll fix it up.
 
01/09/18, 12:22 PM   #3
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 67
Originally Posted by ZOS_ChipHilseberg View Post
Yup, I sure did break this. I'll fix it up.
Hehe, thanks!
 

ESOUI » Developer Discussions » Bug Reports » [fixed] 3.3 ZO_LocalizeDecimalNumber broken?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off