I have seen that some browsers localize the input type=\"number\" notation of numbers.
input type=\"number\"
So now, in fields where my application displays longitude and la
As far as I understand it, the HTML5 input type="number always returns input.value as a string.
input type="number
input.value
string
Apparently, input.valueAsNumber returns the current value as a floating point number. You could use this to return a value you want.
input.valueAsNumber
See http://diveintohtml5.info/forms.html#type-number