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