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

los decimals

Status
Not open for further replies.

TIPtip

Programmer
Jan 5, 2004
9
SI


val(NZ(
.[field],0))
returns zero 0

then i calculate : 0 - 123.44 and returns -123 and i lost 0.44.

How to handle this?
 
what is the datatype of the variable you are assigning the result of the subtraction?
 
in table a field is Double, format standard and decimal places 2

i have this calculating in qwey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top