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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

formatNumber in adobe livecycle

Avatar

Level 1

Hi

I'm trying to format a number using utils.numberFormat. It's not working properly, for example if the imput is 100.95 it shows 10.0.9.510.000.000,00, with other numbers it's working fine ¿do you have any idea why that's happenig?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi, utils is not a builtin object in Acrobat JavaScript, is this from some library that has been added as a script object to your form?

View solution in original post

3 Replies

Avatar

Level 1

Sorry, it's utils.formatNumber

Avatar

Correct answer by
Level 10

Hi, utils is not a builtin object in Acrobat JavaScript, is this from some library that has been added as a script object to your form?

Avatar

Level 1

I found the add on and change the function, thanks.