Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
Rounding Numbers
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Rounding Numbers
#
247584
13/08/14
09:02 PM
Joined:
Feb 2004
Posts: 7
A
ardit
OP
Nutrimatic drinks dispenser
OP
ardit
Nutrimatic drinks dispenser
A
Joined:
Feb 2004
Posts: 7
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!
Copy Link to Clipboard
Re: Rounding Numbers
ardit
#
247614
15/08/14
08:23 AM
Joined:
Feb 2004
Posts: 7
A
ardit
OP
Nutrimatic drinks dispenser
OP
ardit
Nutrimatic drinks dispenser
A
Joined:
Feb 2004
Posts: 7
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
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage