- or download this
use Number::Format;
my $x = new Number::Format(-thousands_sep => ' ');
my $number = 1234567890;
print $x->format_number($number);
- or download this
$ perl example.pl
1 234 567 890
- or download this
my $number = 1234567890;
print format_number($number);
...
$x = reverse $x;
return $x;
}
- or download this
1 234 567 890