Hi Eike and Javier,
Eike Rathke wrote:
NativeNumber service assumes that the number string is in en_US format, decimal is (.) and thousand sep. is (,), and it tries to convert them to what is defined in locale data. But the assumption is wrong, the number formatter is already convert the decimal to what localedata defines. For this case, double conversions occured.
Without having taken a look at any code: does that happen only if numbers are formatted via the number formatter, or also if you enter the same character sequence as a string into a cell? You might need to preceed the input with a single quote ' to prevent conversion to number, depending on whether Khmer numerals are recognized as digits.
Please file a issue and I will fix it.
This is it. I see the first three entries in the US file, that had Arab numbers (4) have been replaced here by local language numbering (12), but other lines have been untouched. What do the other lines mean?
<LC_NumberingLevel>
<NumberingLevel Prefix=" " NumType="12" Suffix=")" />
The NumType=... value is one of the constants defined in
offapi/com/sun/star/style/NumberingType.idl
localedata.dtd also has comment about those number type.
Thanks, Karl.
Eike
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
