Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8338 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello

Can someone help with what should be a simple calculation? I sell material by the square foot. Any amount greater than a whole number needs to be rounded up to the next whole number. If the result is 10.1 I need the result to be 11.

Thanks alot.

Posted

You could have the round calculation add .5 to the number it intends to round-off & then it will always round to the higher integer.

For Example:

10.1 would become 10.6 & then round to 11

10.6 would become 11.1 & still round to 11

If I'm understanding what you're trying to do, then this should work...

Later,

Paul E. ???-)

  • 3 weeks later...
Posted

quote:

Originally posted by dykstrl:

This will do what you need:

Case(Int( NumberField )< NumberField ,(Int( NumberField )+1), NumberField )

Thanks for the suggestion. Sorry I didn't reply earlier, I forgot to check for answers because I solved the problem myself.

Posted

quote:

Originally posted by PinnWal:

You could have the round calculation add .5 to the number it intends to round-off & then it will always round to the higher integer.

For Example:

10.1 would become 10.6 & then round to 11

10.6 would become 11.1 & still round to 11

If I'm understanding what you're trying to do, then this should work...

Later,

Paul E.
???
-)

Thanks for the suggestion. Sorry I didn't reply earlier, I forgot to check for answers because I solved the problem myself.

This topic is 8338 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.