Hi,
I set up various expression fields to show two decimal places. In portal pages they display properly except if the second decimal place is a zero, in which case it is truncated and the number only shows with one decimal place. Is there some way to force the fields to show two decimal places in these cases?
Thank you,
Greg
Hello,
This is tracked as defect PSC00321531. Unfortunately, there is no other way to force the zeros in the return value of the expression field.
Thank you,
Gian
Hello,
This is tracked as defect PSC00321531. Unfortunately, there is no other way to force the zeros in the return value of the expression field.
Thank you,
Gian
Thank you, Gian.
Please check that number of decimal places is set to desired value (it is 0 by default).
Yes, it is set to the desired value of 2 decimal places, but truncates as described above. I scrapped the expression fields and moved the formulas to JavaScript code for each page with the toFixed(2) method, which displays properly.
Thanks,
Greg
Hello,
The workaround will definitely work using the toFixed(2) method. This will still be tracked as a defect and should be fixed in one of the upcoming version updates. Thank you for your patience.
Regards,
Gian
I see normal behavior, no truncation.