If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
When I show the value of a float import with Enterprise manager, it returnsEX: 60.1012), but if i try to show it with Query analyzer, it's diferent!!!! (Ex: 60.1012000000000002)
But I don't know, why???
I'm sure this affects my ASP aplication.(Hello Jordi from Barcelona).
I don't know about the progs you are using specifically but I assume they just display the value in different precision. Maybe there's an option in Enterprise Manager to control display precsion of float values (maybe someone with more insight can guide you the way).
In general you should be aware of rounding when handling float values. Even simple calculations can cause rounding errors and might accumulate over time. If you need to be sure your data is and stays the same precision use the numeric data type instead of float.