By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,361 Members | 1,412 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,361 IT Pros & Developers. It's quick & easy.

add float value

P: 81
Hi,
in my database my datatype value is flot, so i entered some value as 3.10 but it taken as 3.1 how it posible i want to get as it is value how?
May 20 '08 #1
Share this Question
Share on Google+
2 Replies


Delerna
Expert 100+
P: 1,134
use decimal instead of float, and set the scale to 2.
It will still be stored as 1.1 in the table but when you select the field in a query it will come as 1.10
May 20 '08 #2

Delerna
Expert 100+
P: 1,134
This question is posted twice ????
here
May 21 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.