Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Decimal notation issue in Adobe Forms

Former Member
0 Likes
3,838

Hi All,

I'm trying to display a quantity field in adobe form. Its working fine in English (Ex. 5,000)

But when I run the same in Spanish(ES), its displaying (5.000) even the user profile decimal notation is (1,234.56).

I want to print the quantity based on user profile settings.

I have gone through the other threads in SCN, but most of them suggest to use pattern (1,234) like that - but if I change user profile settings then pattern only work.

Any one please help on this.

Thanks,

Chandra.

2 REPLIES 2
Read only

former_member76372
Participant
0 Likes
1,721

Instead of using a QUANTITY type field, use a character field to write in your adobe forms.

1. Transfer your quantity to a string/character type field.

2. Next thing you do, you get the information of the user's Decimal point format via USR01 - Then try to format it that way. A little coding will do.

3. Before you even pass it to the interface, initialize your quantity to a your desired decimal point format and pass a character-type field. OR You can also do it inside the interface code initialization, just add global variable you can use in your form.

Read only

Former Member
0 Likes
1,721

Hi Chandra,

I will presume that you are trying to print the same example in both languages. One way this issue would have been replicated is that if there are two documents with two different currencies.

In the initialization part of the form write the statement

SET COUNTRY.

This would override all decimal and date formats and use the ones mentioned in the user profile.

Regards,

Prem