Tweetiepie
Programmer
Hi, I am using SQL server with a Visual Basic frontend. If i enter in a number say 2.5 it saves ok and then when i go to retrieve the value it comes back as 2.499999999998. Is there any way i can get this to stay as 2.5 as it is causing alot of resouces to be used up when i have to perform calculations on the values.. If i was to round it off it would also peopbably use up alot of resources tooo. Is there a way i could program it to automatically leave it the way it was entered or rounded off as soon as it is entered?
Any ideas would be apreciated.
Thanks a million
Any ideas would be apreciated.
Thanks a million