Revision a873249c
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/Locale.pm | ||
---|---|---|
480 | 480 |
$self->{raw_io_active} = 0; |
481 | 481 |
} |
482 | 482 |
|
483 |
sub set_numberformat_wo_thousands_separator { |
|
484 |
my $self = shift; |
|
485 |
my $myconfig = shift || \%::myconfig; |
|
486 |
|
|
487 |
$self->{saved_numberformat} = $myconfig->{numberformat}; |
|
488 |
$myconfig->{numberformat} =~ s/^1[,\.]/1/; |
|
489 |
} |
|
490 |
|
|
491 |
sub restore_numberformat { |
|
492 |
my $self = shift; |
|
493 |
my $myconfig = shift || \%::myconfig; |
|
494 |
|
|
495 |
$myconfig->{numberformat} = $self->{saved_numberformat} if $self->{saved_numberformat}; |
|
496 |
} |
|
497 |
|
|
483 | 498 |
1; |
Auch abrufbar als: Unified diff
Zahlen beim CSV-Export ohne Tausendertrennzeichen formatieren
Fix für Bug 1393.