Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
How to place a comma in a long string of numbers
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Re: How to place a comma in a long string of numbers
landonsandor
#
271946
19/08/23
12:11 AM
Joined:
Dec 2011
Posts: 19
J
JohnEricNO
Pikka bird
JohnEricNO
Pikka bird
J
Joined:
Dec 2011
Posts: 19
Use the $bytes identifer with the bd option.
b keeps bytes so it doesn't divide by 1000 or 1024
d keep the decimal part
example: 100000000.345
//echo $bytes(100000000.345,bd)
answer: 100,000,000.345
Copy Link to Clipboard
Entire Thread
Subject
Posted By
Posted
How to place a comma in a long string of numbers
landonsandor
18/08/23
09:15 PM
Re: How to place a comma in a long string of numbers
JohnEricNO
19/08/23
12:11 AM
Re: How to place a comma in a long string of numbers
Epic
19/08/23
01:00 AM
Re: How to place a comma in a long string of numbers
maroon
19/08/23
02:25 AM
Re: How to place a comma in a long string of numbers
Wims
19/08/23
10:42 AM
Re: How to place a comma in a long string of numbers
landonsandor
19/08/23
06:07 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