Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Former Member
Not what you were looking for? View more on this topic or Ask a question