Problem with Greek comma (,) in a decimal value
Posted on 2003-03-17
Dear experts exchange users,
Imagine that I have two textboxes in which I want to enter decimal values and then insert these two values in an access database for later use.
When I'm entering a value like 5.5 or 5,5 the value finally inserted in the database is 55!
(I use English Windows with Greek Location and Greek Keyboard)
When I'm turning the Location to US I can't put 5,5 but instead 5.5 works fine.
My problem is that the final problem is intend to go to my UNI so it has to be all in GREEK language
with Greek Settings.
I DIM my variables as Singles
Then I pass the values of the textboxes into these two variables and I convert them with CSng to Singles.
Finally the fields in my MS Access database is declared as Single.