in reply to A locale independent sprintf?
Is there an sprintf implementation available for Perl that is independent of any numeric locale settings?
Not that I know of.
The simple workaround is to write a perl sub that simply does a s/,/./ on what sprintf() returns.
Or are there additional locale settings that also need to be dealt with ?
Cheers,
Rob
Not that I know of.
The simple workaround is to write a perl sub that simply does a s/,/./ on what sprintf() returns.
Or are there additional locale settings that also need to be dealt with ?
Cheers,
Rob
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A locale independent sprintf?
by swl (Parson) on Jul 29, 2020 at 03:11 UTC | |
by kcott (Archbishop) on Jul 29, 2020 at 03:37 UTC | |
by swl (Parson) on Jul 29, 2020 at 04:06 UTC | |
by kcott (Archbishop) on Jul 29, 2020 at 09:05 UTC | |
by swl (Parson) on Jul 29, 2020 at 12:18 UTC | |
by swl (Parson) on Jul 29, 2020 at 11:58 UTC | |
by swl (Parson) on Jul 29, 2020 at 05:11 UTC |
In Section
Seekers of Perl Wisdom