Hugos 9 Posted September 1 I have a line with "money," this knowledge I frame in "dxDrawText." (For example, You Money: $156,000). I need to change the string (Lua) to get a number separated by a dot, i.e. "156.000," instead of "156000." I need to add dots every 3 digits starting at the end, but I don 't know how to do it properly? Share this post Link to post
IIYAMA 885 Posted September 1 8 minutes ago, Hugos said: I have a line with "money," this knowledge I frame in "dxDrawText." (For example, You Money: $156,000). I need to change the string (Lua) to get a number separated by a dot, i.e. "156.000," instead of "156000." I need to add dots every 3 digits starting at the end, but I don 't know how to do it properly? http://Lua-users.org/wiki/FormattingNumbers 1 1 Share this post Link to post
Hugos 9 Posted September 2 9 hours ago, IIYAMA said: http://Lua-users.org/wiki/FormattingNumbers Thanks! 1 Share this post Link to post