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

Round function 1

Status
Not open for further replies.

Jahappz

Technical User
Jun 3, 2002
133
SE
i have this query in access that i want to round to 2 decimals


its a updatequery
that changes to this:
[D1154]/[forms]![menu]![euro]


is it something like this u should use?
round([D1154]/[forms]![menu]![euro],3)

or how??
 
Check out this thread. There are two methods here available depending on rounding up needs.

thread701-861461

Post back if you need further assistance.

[COLOR=006633]Bob Scriver[/color]
MIState1.gif
[COLOR=white 006633]MSU Spartan[/color]
 
Two decimals...

round([D1154]/[forms]![menu]![euro],2)

-VJ
 
Two decimals...

round([D1154]/[forms]![menu]![euro],2)

this doesnt work it says missing opperand

any other ideas?
 
Isnt there someone that has done this ever????

2 decimals like 2.25 i get values like this now: 2.25464635634 and i only want 2 decimals....

Anyone`???
 
Have you tried this ?
Format([D1154]/[forms]![menu]![euro], "0.00")


Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
yes it says illegal syntax and marks the ","

any idéas
 
Depending of your locale, you may consider replacing the comma (,) by a semi-colon (;).

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
WHoohoo! it worked! it was the comma when i replaced it with a semi-colon it worked like a charm!

Thank you PHV!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top