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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Addition Query returning unexpected numbers

Status
Not open for further replies.

reiman

Technical User
Apr 28, 2004
3
US
I am trying to split a mixed number in one field (example: 25.654878) into two separate fields, one field with the whole number and one field with the fraction. But I need to keep them numbers and not change to text. When I subtract the mixed number from the integer of the mixed number I am getting unexpected results in about a quarter of the cases (example: .65487899999991). Can anyone tell me why this is happening or tell me how to stop it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top