Apache OpenOffice (AOO) Bugzilla – Issue 17754
Thai native number spellout.
Last modified: 2013-08-07 15:00:01 UTC
In current OpenOffice.org has an implement of thai native (NATNUM1). But in thai, a number can use another method. Example. 1. Spellout number for Thai currency. 100 -> One hundred Baht. 100.50 -> One hundred Baht Fifty Sa-tang. 2. spellout of thai number 100 -> One hundred 100.50 -> One hundred dot Five 3. direct spellout of each digit. 100 -> One O O 100.50 -> One O O dot Five O We want to propose new native number implementations for thai; case 1 will be native number 4 (NATNUM4), case 2 will be native number 5 (NATNUM5) and last case will be native number 6 (NATNUM6) Now we have implemented for internal testing but it is not complete enough for submitting to OOo.
*may* related issue: SPELLOUT() number spell out function (multi-lingual) http://www.openoffice.org/issues/show_bug.cgi?id=3702
For easy reference:- natnum0 = ascii natnum1 = char, lower natnum2 = char, upper natnum3 = char, fullwidth natnum4 = text, lower, long natnum5 = text, upper, long natnum6 = text, fullwidth natnum7 = text, upper, short natnum8 = text, upper, short natnum9 = char, hangul natnum10 = text, hangul, long natnum11 = text, hangul, short We chose to implement natnum4, natnum5 and natnum6 to follow the same model as in CJK, i.e. textual representation that are spellouts of the number in various forms/lengths. There's a little typo in the first post. The actual assignment currently are:- natnum4 = natural number spellout (the one that are used the most) natnum5 = number spellout in currency natnum6 = each digit spellout (used less frequently) e.g. 106.50 natnum4 -> one hundred and six POINT five natnum5 -> one hundred and six BAHT fifty SATANG natnum6 -> one o six POINT five o Issue:- 1) The assignment. I think natnum4 has to be there, right? natnum5 has a big issue below. How about natnum6? Is it ok here? 2) natnum5. It may seem that the concept of currency has nothing to do with native number spellout. But actually, it make numbers to be read differently so the textual representation (regardless of currency signs) differ. We have to insert the currency signs BATH and SATANG in the output string which limit it use only to currency (not anything with %100). However, we can't lock the user to use it only in currecy cell because no format info. reach the natnum functions. All we can do is put natnum5 in the menu for currency format but not for number format, but the user can type it in as custom format anyway (and see BATH and SATANG as a surprise) So we don't know what to do here? We can let it be like this (and pray the user not to do the trick) or send more info to lower level routines?
DL->FT: Would you please takeover?
In current OpenOffice.org has an implement of thai native (NATNUM1). But in thai, a number can use another method. Example. 1. Spellout number for Thai currency. 100 -> One hundred Baht. 100.50 -> One hundred Baht Fifty Sa-tang. 2. spellout of thai number 100 -> One hundred 100.50 -> One hundred dot Five 3. direct spellout of each digit. 100 -> One O O 100.50 -> One O O dot Five O We want to propose new native number implementations for thai; case 1 will be native number 4 (NATNUM4), case 2 will be native number 5 (NATNUM5) and last case will be native number 6 (NATNUM6)
started
This shouldn't a Thai specific issue. Issue #43043 has an RFE for the general feature of number spellout, which subsumes this issue. *** This issue has been marked as a duplicate of 43043 ***
duplicated. closed.