1 // ***************************************************************************
3 // * Copyright (C) 2004-2006, International Business Machines
4 // * Corporation and others. All Rights Reserved.
6 // ***************************************************************************
11 // Spellout rules for Japanese.
13 // In Japanese, there really isn't any distinction between a number written
14 // out in digits and a number written out in words. The kanji are both
15 // digits and words. This rule set provides two variants:
18 // Traditional CJK numerals for everyday usage.
21 // Alternate numerals that are harder to alter than the traditional
22 // numerals to prevent fraud (e.g. changing a traditional one to a
23 // three by adding two strokes). Additionally, items that are usually
24 // dropped or shortened in the traditional form are supplied in full
25 // (e.g. 128 is 1 x 100, 2 x 10, 8 instead of just 100, 2 x 10, 8).
27 // Note that the Japanese spell out rules, although similar, are different
28 // to those for Chinese. For instance, Japanese omits powers of ten which
29 // are zero, however in Chinese they are included.
33 "-x: \u30de\u30a4\u30ca\u30b9>>;\n"
35 "\u96f6; \u58f1; \u5f10; \u53c2; \u56db; \u4f0d; \u516d; \u4e03; \u516b; \u4e5d;\n"
36 "\u62fe; \u62fe[>>];\n"
38 "100: <<\u767e[>>];\n"
39 "1000: <<\u5343[>>];\n"
40 "10,000: <<\u842c[>>];\n"
41 "100,000,000: <<\u5104[>>];\n"
42 "1,000,000,000,000: <<\u5146[>>];\n"
43 "10,000,000,000,000,000: =#,##0=;\n"
44 // "10,000,000,000,000,000: <<\u4eac[>>];\n"
45 // "100,000,000,000,000,000,000: =#,##0=;"
47 "-x: \u30de\u30a4\u30ca\u30b9>>;\n"
49 "\u3007; \u4e00; \u4e8c; \u4e09; \u56db; \u4e94; \u516d; \u4e03; \u516b; \u4e5d;\n"
50 "\u5341; \u5341[>>];\n"
53 "200: <<\u767e[>>];\n"
55 "2000: <<\u5343[>>];\n"
56 "10,000: <<\u4e07[>>];\n"
57 "100,000,000: <<\u5104[>>];\n"
58 "1,000,000,000,000: <<\u5146[>>];\n"
59 "10,000,000,000,000,000: =#,##0=;"
60 // "10,000,000,000,000,000: <<\u4eac[>>];\n"
61 // "100,000,000,000,000,000,000: =#,##0=;"