Jump to content
Server Maintenance This Week. ×

Calculation Field formatting as decimal


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

Recommended Posts

I'm sure there is a simple solution but here is my situation. I have a couple calculation fields that I need formatted to 2 decimal places. I have them formatted in the layout but I didn't realize that because they are calculations fields, they are not being outputted in the actual calculation to 2 decimal places and it is screwing up math later on when I'm trying to use them in currency formatted fields.

So basically how to I format a field that is a calculation to output a number to 2 decimal places. Any help would be appreciated. Thanks

Link to comment
Share on other sites

Well since its currency I guess you would want it round it to the nearest hundreth.

If so, use Round(YourField; 2).

If not, you can use Truncate(YourField; 2).

Link to comment
Share on other sites

This topic is 5794 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.