Parse locally formatted numbers?
Is there a way to parse strings which contain locally formatted numbers to integer/float using the standard packages?
With message.Printer I can format integer and float numbers to a locally formatted string based on a language.Tag.
But I need it the other way around, so I have a string containing a locally formatted number which I need to convert to a int/float based on a language.Tag.
submitted by /u/Sternis
[link] [comments]