?
Solved

Round a Currency variable down

Posted on 2014-04-27
4
Medium Priority
?
179 Views
Last Modified: 2014-04-27
how can i round a number down ?
Dim mcurDollarValue As Currency
I have a currency variable that i display as either currency or long
how can i round this number down to the next whole number
eg:
39.6 = 39
0
Comment
Question by:isnoend2001
  • 3
4 Comments
 
LVL 50

Accepted Solution

by:
Martin Liss earned 2000 total points
ID: 40026402
Use the Int function.
0
 
LVL 50

Expert Comment

by:Martin Liss
ID: 40026403
Int(39.6) yields 39
0
 

Author Closing Comment

by:isnoend2001
ID: 40026421
Thanks
0
 
LVL 50

Expert Comment

by:Martin Liss
ID: 40026430
You're welcome and I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

850 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