Skip to Content
avatar image
Former Member

Error DecimalFormat External Representation

Hello all,

We have created a simple type in local Dictionary where ->

- Built-In Type: Double

- External Representation, Format: #,##0.00

We are doing in Castilian Spanish language, so the decimal point is comma and the commas are points.

I pass on to detail the examples:

1) If the user enters "1"

The result is "1,00" Is Correct!

2) If the user enters "1000"

The result is "1.000,00" Is Correct!

3) If the user enters "1.000"

The result is "1.000,00" Is Correct!

4) If the user enters "1.2"

The result is "12,00" Is not Correct!

In case 4 should give a formatting error.

What is the solution? Should we implement all validations by hand?

Best Regards,

Jennifer Lohan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 02, 2009 at 10:09 PM

    Open an OSS message.

    Armin

    Add comment
    10|10000 characters needed characters exceeded