parseFloat
doesn’t use your locale’s definition, but the definition of a decimal literal.
It only parses .
not ,
I’m brazilian and I have to replace comma with dot before parsing decimal numbers.
parseFloat specification
parseFloat
doesn’t use your locale’s definition, but the definition of a decimal literal.
It only parses .
not ,
I’m brazilian and I have to replace comma with dot before parsing decimal numbers.
parseFloat specification