Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: A locale independent sprintf?by syphilis (Archbishop) |
on Jul 29, 2020 at 01:21 UTC ( [id://11119929]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|