Format Decimal number

a decimal number is calculated in the Expression button and try to format the decimal number with this:

but this is what I get,

How to make this result number to be 4,069.02 ?


Jason Chen

Hello Jason,

It appears as though you are using the commercial version of Flowable (based on the image you attached).
The format restriction in the Decimal field type is actually enforced as a validation and only triggers when you enter directly into the field.

Since you are using the expression button, you need to do the rounding in your expression using the frontend Math functions:

e.g. {{flw.round(25.2345, 2)}}

Hope this helps.

P.S. you are better off posting forum questions for the commercial version of Flowable to our other forum:

Thanks, I’ll try your tip…