Property formatting in quote

We’ve added a personalization property in a quote template. The property is a number and is formatted as a percentage. However, when the property is displayed in the quote document, it’s showing as a decimal. i.e. 10% is shown as .1.

I’ve triple checked that the property is indeed a Number formatted as a percent. Any other suggestions?

Hi @MThome,

Thanks for reaching out to the Community!

In this scenario, you would need to clone and edit the line items module of the quote template. By incorporating the following code snippet into a custom line items module, you can achieve the desired display of numbers as percentages:

{{ personalization_token(‘template_data.quote.associated_objects.deal.variable_fee__’, ‘’)|render|multiply(100) }}%

Hope this helps,

Diana