on 04-17-2007 5:27 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.