The part of the function that handles rested XP appears to be using the format function to format its numbers, so you should probably use that for the non-rested part as well.
Is the format function defined by the AddOn or is it using the global alias of string.format? The latter would be pointless.
|