Prompt message decimal points

Is there a way to decide how many decimal points to display when using PV from a CM in a prompt message? 

Right now im getting 8 dp's in my prompt when the CM itself only uses 2. Does this have to do with my expression or is it something in the CM that needs to be changed? 

  • It's not the easiest. You have to make sure there are no extra digits in the number for it to truncate during display. What we do is the following:

    ((ROUND('^/<Parameter to Display>' * <Decimals>)) / (<Decimals>)) where <Decimals> is equal to 10 ^ the number of decimal points, e.g., 100 for 2 decimal points. This is literally multiplying the part to we want as an integer and then removing all the decimals and then dividing back down.

    Strange looking, but it works.