4 # File ID: 895db0b6-5d37-11df-92d4-90e6ba3022ac
5 # Setter inn understrek i nummer.
15 defined($opt_s) || ($opt_s = "_");
18 s/(\d{3,})/commify($1)/ge;
23 my $Str = reverse $_[0];
24 $Str =~ s/(\d\d\d)(?=\d)(?!\d*\,)/$1$opt_s/g;
25 return scalar reverse $Str;