Current code only work if Locale is "de"
internal representation should be independent of locale of the running system
should be like this:
as the result of getNumberAsString() is used for internal XML representation of the number. This format should be independent of the runtime environment so that data can be handled in different environments.