According to the documentation:
Note The
Val
function recognizes only the period (.
) as a valid decimal separator. When different decimal separators are used, as in international applications, useCDbl
instead to convert a string to a number.
Note: Val(7,3)+1,4
also returns 8,4
, so be careful if your input already is in the number format!