/ Published in: ActionScript 3
Adds commas every 3 spaces.
Expand |
Embed | Plain Text
String (1000000).replace(/(\d)(?=(\d\d\d)+$)/g, "$1,");
You need to login to post a comment.
Adds commas every 3 spaces.
String (1000000).replace(/(\d)(?=(\d\d\d)+$)/g, "$1,");
You need to login to post a comment.