I can help for once! As I found previously!
Node:$number=1234567; # with commas, should be "1,234,567" $number =~ s/(\d)(?=(\d{3})+(\D|$))/$1\,/g;
In reply to Re: Separating big numbers with commas
by Syrkres
in thread Separating big numbers with commas
by Legg83
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |