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
BedrockMission!

Learn More

View all

Sign in to view all badges

Forms 6.5 Number formatter not showing decimals for percentages

Avatar

Avatar
Validate 1
Level 1
JoelLucuik
Level 1

Like

1 like

Total Posts

52 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
JoelLucuik
Level 1

Like

1 like

Total Posts

52 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
JoelLucuik
Level 1

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 (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Level 2
Rakhi_Sukhadeve
Level 2

Likes

10 likes

Total Posts

13 posts

Correct Reply

5 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Give Back 5
Level 2
Rakhi_Sukhadeve
Level 2

Likes

10 likes

Total Posts

13 posts

Correct Reply

5 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 5
Boost 3
View profile
Rakhi_Sukhadeve
Level 2

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

 

Answers (0)