Hi!
I´m running ASP and MySQL where I´m using the datatype FLOAT.
When I submit a value, for example myValue=’50.5’ it works fine and when I check the value in the database it is 50.5
But then, when I try to print this on a .asp page - using SELECT myValue AS nVal – RS(“nVal”) I get the value 50 printed.
What is causing the rounded value, is it a WIN/ASP/MySQL setting or am I doing something wrong?
Thanks in advance for any answers /The Swedish Pike
I´m running ASP and MySQL where I´m using the datatype FLOAT.
When I submit a value, for example myValue=’50.5’ it works fine and when I check the value in the database it is 50.5
But then, when I try to print this on a .asp page - using SELECT myValue AS nVal – RS(“nVal”) I get the value 50 printed.
What is causing the rounded value, is it a WIN/ASP/MySQL setting or am I doing something wrong?
Thanks in advance for any answers /The Swedish Pike