Forms 6.5 Number formatter not showing decimals for percentages

JoelLucuik

28-07-2020

AEM forms 6.5 (Centos)

 

Using Decimal, num{z9.99%} does not show percentage after decimal. Input is 0.6503. Should show "65.03%". Shows "65.00%",

 

Docs https://help.adobe.com/en_US/AEMForms/6.1/DesignerHelp/WS92d06802c76abadb-56c02439129b8b00ebc-7ecf.2... 

 

Say it should.

 

I can use a JS solution, but that kind of defeats the purpose.

i.e. (Number(num/100).toLocaleString(undefined,{style: 'percent', minimumFractionDigits:2});)

 

Suggestions?

 

Thanks...Joel

Accepted Solutions (0)

Answers (1)

Answers (1)

Rakhi_Sukhadeve

30-07-2020

@JoelLucuik  I have tested the same using AEM forms designer 6.5 and it's working for me.

Refer to the attached sample