Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Forms 6.5 Number formatter not showing decimals for percentages

JoelLucuik
Level 3
Level 3

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

1 Accepted Solution
Rakhi_Sukhadeve
Correct answer by
Level 2
Level 2

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

Refer to the attached sample

 

View solution in original post

1 Reply
Rakhi_Sukhadeve
Correct answer by
Level 2
Level 2

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

Refer to the attached sample

 

View solution in original post

JoelLucuik
Level 3
Level 3
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.