mIRC Homepage
Posted By: ardit Rounding Numbers - 13/08/14 09:02 PM
Hi,

Is there a way to round numbers?

something like this....

100000 is shown as 100K
1000000 is shown as 1M
1000000000 is shown as 1B

Any example appreciated!

Posted By: ardit Re: Rounding Numbers - 15/08/14 08:23 AM
I tried $round but still no go...

Code:
{ set %num.1 $round($gettok(%num.temp,2,62),2) }


can someone please help me with this? thx
© mIRC Discussion Forums