Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Rounding UP of currency in a query

Posted on 2007-11-20
6
Medium Priority
?
520 Views
Last Modified: 2008-02-01
Hello All, I have spent far too much time researching this question on the Q&A of this site, So I have resorted to asking the wealth of experts chasing points.
What is the A2K equivalent of this Excel formula please
=CEILING(C2,0.1)
This happly upgrades figures like $13.02 to $13.10 or $32.58 to $32.60
I would like to imbed a rounding up formula in my Query that does the same please

Regards P
0
Comment
Question by:Paulo357
  • 3
  • 2
6 Comments
 
LVL 10

Expert Comment

by:LennyGray
ID: 20325484
Ccur(round(CurrencyAmount  + .50))
0
 

Accepted Solution

by:
Weddeh earned 200 total points
ID: 20325746
Round to 0.1
   INT(<field>*10*-1)/10*-1
Round to 1
   INT(<field>*-1)*-1
0
 

Author Comment

by:Paulo357
ID: 20330172
Sorry Lenny, you formula only rounded $13.02 to $14.00.
Weddeh, your formula  "INT(<field>*10*-1)/10*-1" is spot on rounding $13.02 to $13.10
cheers!
Paul
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 10

Expert Comment

by:LennyGray
ID: 20330639
No problem. I figured that you wanted rounding to the next dollar. Is that something particular to New Zealand?

I am happy that you were helped.

Who helps is not as important as who is helped.
0
 

Author Comment

by:Paulo357
ID: 20330714
No its not particular to NZ Lenny, its just I was tasked to do this rounding by my boss for a pricing senerio he is using
0
 
LVL 10

Expert Comment

by:LennyGray
ID: 20331854
Thanks
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question