The val() function seems to understand . as a decimal point, even in systems with , as a decimal point. For example, the next call
val("7,3") + 1,4
returns a real number of 8,4 ( 8.4 in English notation). val("7.3") + 1,4 returns the expected value of 8,7 .
Is this a sign or a mistake? How to specify which decimal point will be used in val() function?
source share