Formatting numbers help!
#2

Use https://sampwiki.blast.hk/wiki/Strlen to get the length of the string and then determine where the commas need to go

Use https://sampwiki.blast.hk/wiki/Strins to insert the "," in to the string.

That's how I would do it.

Create a function that returns the new string
Reply


Messages In This Thread
Formatting numbers help! - by E7mad - 18.12.2015, 19:25
Re: Formatting numbers help! - by Shoulen - 18.12.2015, 20:15
Re: Formatting numbers help! - by SickAttack - 18.12.2015, 20:20
Re: Formatting numbers help! - by Shoulen - 18.12.2015, 20:21
Re: Formatting numbers help! - by E7mad - 18.12.2015, 20:36
Re: Formatting numbers help! - by Vince - 19.12.2015, 00:32

Forum Jump:


Users browsing this thread: 1 Guest(s)