Jun 21, 2004 #1 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??
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??
Jun 21, 2004 #2 scriverb Programmer May 17, 2002 4,485 US 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] [COLOR=white 006633]MSU Spartan[/color] Upvote 0 Downvote
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] [COLOR=white 006633]MSU Spartan[/color]
Jun 21, 2004 #3 amorous Programmer Sep 5, 2003 1,008 US Two decimals... round([D1154]/[forms]![menu]![euro],2) -VJ Upvote 0 Downvote
Jun 21, 2004 Thread starter #4 Jahappz Technical User Jun 3, 2002 133 SE Two decimals... round([D1154]/[forms]![menu]![euro],2) this doesnt work it says missing opperand any other ideas? Upvote 0 Downvote
Two decimals... round([D1154]/[forms]![menu]![euro],2) this doesnt work it says missing opperand any other ideas?
Jun 22, 2004 Thread starter #5 Jahappz Technical User Jun 3, 2002 133 SE 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`??? Upvote 0 Downvote
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`???
Jun 22, 2004 1 #6 PHV MIS Nov 8, 2002 53,708 FR 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 Upvote 0 Downvote
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
Jun 22, 2004 Thread starter #7 Jahappz Technical User Jun 3, 2002 133 SE yes it says illegal syntax and marks the "," any idéas Upvote 0 Downvote
Jun 22, 2004 #8 PHV MIS Nov 8, 2002 53,708 FR 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 Upvote 0 Downvote
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
Jun 22, 2004 Thread starter #9 Jahappz Technical User Jun 3, 2002 133 SE WHoohoo! it worked! it was the comma when i replaced it with a semi-colon it worked like a charm! Thank you PHV! Upvote 0 Downvote
WHoohoo! it worked! it was the comma when i replaced it with a semi-colon it worked like a charm! Thank you PHV!