Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Always Round Up


Guest Yukon Cornelous

Recommended Posts

Guest Yukon Cornelous

Whether it is 90.1 or 90.9 , I want to always roundup.

But if 90.0 leave it alone

Any Ideas?

Link to comment
Share on other sites

Code:


Case( 

Mod(yourNumber, 1),

Int(yourNumber) + 1

)


Should do the job. Although the following may be more explicit when looking at it later, but the extra syntax is not needed:

Code:


Case( 

Mod(yourNumber, 1) > 0,

Int(yourNumber) + 1,

yourNumber

)


Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...

Important Information

Terms of Use