Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
help with separating a value
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Re: help with separating a value
mehenky
#
239901
02/12/12
11:16 PM
Joined:
Dec 2011
Posts: 19
J
JohnEricNO
Pikka bird
JohnEricNO
Pikka bird
J
Joined:
Dec 2011
Posts: 19
create a $comma function:
alias comma {
var %a, %b = $regsub($ticks,$$1,/\G([+-]?\d+?)(?=(?:\d{3})++(?=\.\d++$|$))/g,\1 $+ $chr(44),%a)
return %a
}
To use: var %money = $comma(1234567890)
Copy Link to Clipboard
Entire Thread
Subject
Posted By
Posted
help with separating a value
mehenky
02/12/12
04:19 PM
Re: help with separating a value
Wims
02/12/12
06:41 PM
Re: help with separating a value
mehenky
02/12/12
07:48 PM
Re: help with separating a value
JohnEricNO
02/12/12
11:16 PM
Re: help with separating a value
Riamus2
03/12/12
11:08 AM
Re: help with separating a value
Wims
03/12/12
01:06 PM
Re: help with separating a value
Riamus2
03/12/12
08:34 PM
Re: help with separating a value
hixxy
05/12/12
08:24 PM
Re: help with separating a value
Riamus2
06/12/12
03:45 AM
Re: help with separating a value
mehenky
28/02/13
01:49 PM
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 Flat Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage