How to display number 3000000 ? currently it is coming

New Here ,
Aug 21, 2018

Copy link to clipboard

Copied

How to display number 3000000 ? currently it is coming 3.0E6

TOPICS
Acrobat SDK and JavaScript, Windows

Views

97

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How to display number 3000000 ? currently it is coming

New Here ,
Aug 21, 2018

Copy link to clipboard

Copied

How to display number 3000000 ? currently it is coming 3.0E6

TOPICS
Acrobat SDK and JavaScript, Windows

Views

98

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 21, 2018 0
Most Valuable Participant ,
Aug 21, 2018

Copy link to clipboard

Copied

Is this the result of a calculation? If so, how is it being calculated?

Did you set the field's Format to something else than "None"? If so, what?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 21, 2018 0
New Here ,
Aug 21, 2018

Copy link to clipboard

Copied

We just pich the value from xml through xpath. we notice left and right side both field xpath are same but when value is is coming 3000000 then it is not proper display.

Thanks

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 21, 2018 0
Most Valuable Participant ,
Aug 21, 2018

Copy link to clipboard

Copied

So you're importing the value from an XML file?

And you didn't answer my second question...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 21, 2018 0
Most Valuable Participant ,
Aug 21, 2018

Copy link to clipboard

Copied

Is this question about Acrobat JavaScript? LiveCycle Designer JavaScript? Browser JavaScript? Or something else?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 21, 2018 0
Adobe Community Professional ,
Aug 21, 2018

Copy link to clipboard

Copied

Force the value to the String type. In the custom format script

event.value =  String(event.value);

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 21, 2018 0
New Here ,
Aug 23, 2018

Copy link to clipboard

Copied

thank you so much for your comment.

we change our xpath coding and it is working fine now.

Thanks

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 23, 2018 0