How can I remove the decimal part or hide the two decimal places for currency values?
How can I remove the decimal part or hide the two decimal places for currency values?
Collapse
X
-
-
Unfortunately, you did not specify that it is a PDF Template.Oops,Why is there still '00' appearing after the decimal point when printing a PDF?
You need to include the following code in your PDF Template:
And then, the value from field amount (screenshot 1) in the generated PDF document will look like on screenshot 2.HTML Code:{{amountCurrencySymbol}}{{numberFormat amount_RAW decimals=0 decimalPoint='.' thousandsSeparator=','}}
It is written in detail in the documentation:
Comment

Comment