Skip to Content
avatar image
Former Member

Internationalization of Numbers!!

Hi,

I have a scenario where a table cell is populated with data which contains strings and numbers in it, using a cell editor of type "String". How to make the numbers in that line internationalized? Please refer to the following example,

1. Table -- Cell -- Bound to an attribute of type "String".

2. Value to be populated in that cell is : "Between 123.56 and 134.64".

3. As my context attribute is of type string, i can pass the whole string and iam getting the same as expected.

4. What about European locale (German)? In this case i have to show the string as "Between 123,56 and 134,64" ("," instead of ".").

5. Is it possible without any manual manipulation in WebDynPro Java?

Thanks in advance,

Chandu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 20, 2008 at 04:47 AM

    Hi,

    As my context attribute is of type string, i can pass the whole string and iam getting the same as expected.

    As far as your context attribute is of type you can give a try with the following approaches one is by specifying a format for this in the dictionary type or else formatting using code.

    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Formatter.html

    Regards

    Ayyapparaj

    Add comment
    10|10000 characters needed characters exceeded