Jump to content
  • 0

Limit calculated field decimal places in footer of datapage


Question

Hello,

I've been trying to find a solution to this for awhile. Does anyone know how to limit/round the decimal places on a field and calculated field, over-riding whatever the setting is in the Localization. I need to do this because in some places I need the localization to show 3 decimal points for percentages and sometimes 0 decimal places (rounding whatever the value is).

This is because I have multiple fields on the same datapage that use percentages for display and one needs 3 decimal places and the other needs 0. It makes it sloppy looking to always have .000 after the values for the field and/or calculated field that should normally so none. Thanks for any help. 

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi Vitalikssss,

Thanks for the tip- I know how to do that for a normal field. The question is for a field in an html tag (actually the footer but same thing basically) where you use [@calcfield:1%] to pull the result. That's where I need to make the percentage round to 0 decimal points. 

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
Answer this question...

×   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.

Loading...
×
×
  • Create New...