Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / May 2005

Tip: Looking for answers? Try searching our database.

Round up without using visual basic (equivalent to Roundup())

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
FranklyItsFrank - 05 May 2005 15:54 GMT
I need to round up a value in a query to a multiple of 2: Example: 3.14 would
round up to 4, 4.001 would round up to 6. How do I do this using the round
function?
JohnFol - 05 May 2005 16:23 GMT
I'd suggest you divide by 2, use the round to get the next whole number and
double the answer.

>I need to round up a value in a query to a multiple of 2: Example: 3.14
>would
> round up to 4, 4.001 would round up to 6. How do I do this using the round
> function?
MA - 05 May 2005 16:25 GMT
> I need to round up a value in a query to a multiple of 2: Example:
> 3.14 would round up to 4, 4.001 would round up to 6. How do I do this
> using the round function?

Is not clear for the criteria for roundish
Or better, J understand 3 to 4 but not 4 to 6

Signature

_ _
Ciao
MAssimiliano Amendola
Cisa1 - I° Conferenza Italiana per Sviluppatori Access Arezzo 4+5
Giugno 2005 Sono aperte le iscrizioni  Info:  www.donkarl.com/it

MGFoster - 05 May 2005 20:02 GMT
>>I need to round up a value in a query to a multiple of 2: Example:
>>3.14 would round up to 4, 4.001 would round up to 6. How do I do this
>>using the round function?
>
> Is not clear for the criteria for roundish
> Or better, J understand 3 to 4 but not 4 to 6

2, 4, 6, 8 who do we appreciate....

Signature

MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

MA - 06 May 2005 08:31 GMT
>>> I need to round up a value in a query to a multiple of 2: Example:
>>> 3.14 would round up to 4, 4.001 would round up to 6. How do I do
[quoted text clipped - 4 lines]
>
> 2, 4, 6, 8 who do we appreciate....
Interval of two units? ohhh
So
If Int(Yournum) < Yournum then YouNum = Int(YourNum)+2
Signature

_ _
Ciao
MAssimiliano Amendola
Cisa1 - I° Conferenza Italiana per Sviluppatori Access Arezzo 4+5
Giugno 2005 Sono aperte le iscrizioni  Info:  www.donkarl.com/it

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.