Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pass thru float rounding issue 1

Status
Not open for further replies.

baltman

Technical User
Mar 5, 2002
1,578
US
I'm connected to a MS SQL Server database via a DSNless connection string and pulling out data using a FoxPro front end. I'm having an issue with float fields. No matter what is stored I only get back 2 decimals. I have a work around of multiplying within the query and dividing back with the data once it is local, but surely there is a better way. Could this be a SQL database configuration issue? Or perhaps a SQL Server driver issue? The driver on the local machine is dated 2003. I've also seen this behavior with MS Access.

I'd really appreciate any help.

Thanks,
Brian
 
Just the nudge I needed. I had noticed the convert command but didn't know what to do with it.

Thanks,
Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top