sub puntato { my $n=reverse($_[0]); my $x=''; while(length($n)>3) { $x=$x.substr($n,0,3).'.'; $n=substr($n,3); } $x=reverse($x.$n); return($x); }
In reply to Re: How do I print a large integer with thousands separators?
by Anonymous Monk
in thread How do I print a large integer with thousands separators?
by miblo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |