View Single Post
01/09/18, 02:57 AM   #1
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 103
[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.