Rounding up!

M

Mark909

How do i get access to round up a value.

Ive got this query in a Field

No of Rolls: Round([SumOfLength]/365)

However Round rounds to the nearest number.

I want 7.1 to diplay as 8 for example
 
M

Mark909

Thanks for the help Allen!

For anyone thats interested I used the following query:

No Rolls: -Int(-[SumOfLength]/365)


Allen Browne said:
Use -Int()

Details on rounding techniques here:
Rounding in Access - Round up, round down, rounding time values
at:
http://allenbrowne.com/round.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

Mark909 said:
How do i get access to round up a value.

Ive got this query in a Field

No of Rolls: Round([SumOfLength]/365)

However Round rounds to the nearest number.

I want 7.1 to diplay as 8 for example
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top