Jump to content
Sign in to follow this  
HazMatt

Round UP in all cases

Recommended Posts

FileMaker's Round(number, precision) function is nice, but I need it to round up all the time. I will not be dealing with negative numbers.

My scenario is a material calculator for a machine shop

Share this post


Link to post
Share on other sites

One option off the top of my head (read: there is probably something better)???

Rounded_Number = Int(Number_Field) + Case(Number_Field > Int(Number_Field), 1, 0)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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