Yes. The val() function will stop at the comma.

A workaround could be text3.text=val(replace(Text2.text, ",", ".")

If there is a comma it will be replaced by "." and val will return a proper result.