cancel
Showing results for 
Search instead for 
Did you mean: 

Decimal Notataion

Former Member
0 Kudos

HI,

I was going through a couple of items. During this process, I noticed that the default decimal notation for my user data is set to: 1.234.567,89. Is this deliberate? Can I switch this to the default decimal notation to be 1,234,567.89? The date format is similarly set;

what is the use of decimal notation? Is there any limit or range?

Can we change the Decimal notation, Will it effect the system in anyway.

Regards,

Magham

Accepted Solutions (0)

Answers (1)

Answers (1)

SRudra
Contributor
0 Kudos

Hi,

The answers to your questions follows:

1. Decimal notation is deleberatel done in that way i.e using comma separators.

2. Yes you can switch to the way you want it. Use the code attached below

IWDAttributeInfo attribInfo = wdContext.getNodeInfo().getChild("Bapi_Ftr_Cft_Create_Input").getChild("Cftflows").getAttribute("Payment_Amount");

ISimpleTypeModifiable simpleTypeModifiable = attribInfo.getModifiableSimpleType();

simpleTypeModifiable.setFormat("0.00");

3. The limit fo such numbers is the default provided by the data type decleration. So check if it point s to type Decimal or BigDecimal.

Cheers!!!!

Sukanta Rudra