View Single Post
05/29/23, 01:45 PM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,001
If you want to remove the delimiter it should be enough to use tonumber function.
But if you want to save and show it differently you cannot use both, with delimiter and without in your same 1 SavedVars variable!

Your SavedVars should save with tonumber and your getFunc needs to convert the visual parts to show with the delimiter then (get SV, convert to with delimiter, return in getFunc). And in setFunc do the opposite.
  Reply With Quote