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.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Threaded View
|
Click Here to Expand Forum to Full Width |