Forms 6.5 Number formatter not showing decimals for percentages | Community
Skip to main content
Level 3
July 28, 2020
Solved

Forms 6.5 Number formatter not showing decimals for percentages

  • July 28, 2020
  • 1 reply
  • 1057 views

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.html 

 

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Rakhi_Sukhadeve

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

Refer to the attached sample

 

1 reply

Rakhi_SukhadeveAdobe EmployeeAccepted solution
Adobe Employee
July 30, 2020

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

Refer to the attached sample

 

Level 3
August 21, 2020
Thank you for the sample. Sorry been doing other stuff and haven't been able to check. Using JS solution for now. I'll check this when I get time and Checkmark this.