$number =~ s/(?<=\d)(?=(?:\d\d\d)+\b)/,/g;
In reply to Re: How do I print a large integer with thousands separators?
by dbwiz
in thread How do I print a large integer with thousands separators?
by miblo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |