]>
Commit | Line | Data |
---|---|---|
374ca955 A |
1 | // *************************************************************************** |
2 | // * | |
73c04bcf | 3 | // * Copyright (C) 2004-2006, International Business Machines |
374ca955 A |
4 | // * Corporation and others. All Rights Reserved. |
5 | // * | |
6 | // *************************************************************************** | |
7 | // | |
8 | ||
9 | ja { | |
10 | ||
73c04bcf A |
11 | // Spellout rules for Japanese. |
12 | // | |
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: | |
16 | // | |
17 | // %traditional | |
18 | // Traditional CJK numerals for everyday usage. | |
19 | // | |
20 | // %financial | |
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). | |
26 | // | |
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. | |
374ca955 A |
30 | |
31 | SpelloutRules { | |
32 | "%financial:\n" | |
73c04bcf A |
33 | "-x: \u30de\u30a4\u30ca\u30b9>>;\n" |
34 | "x.x: <<\u70b9>>;\n" | |
374ca955 | 35 | "\u96f6; \u58f1; \u5f10; \u53c2; \u56db; \u4f0d; \u516d; \u4e03; \u516b; \u4e5d;\n" |
73c04bcf | 36 | "\u62fe; \u62fe[>>];\n" |
374ca955 A |
37 | "20: <<\u62fe[>>];\n" |
38 | "100: <<\u767e[>>];\n" | |
39 | "1000: <<\u5343[>>];\n" | |
73c04bcf | 40 | "10,000: <<\u842c[>>];\n" |
374ca955 A |
41 | "100,000,000: <<\u5104[>>];\n" |
42 | "1,000,000,000,000: <<\u5146[>>];\n" | |
46f4442e A |
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=;" | |
374ca955 | 46 | "%traditional:\n" |
73c04bcf A |
47 | "-x: \u30de\u30a4\u30ca\u30b9>>;\n" |
48 | "x.x: <<\u30fb>>;\n" | |
49 | "\u3007; \u4e00; \u4e8c; \u4e09; \u56db; \u4e94; \u516d; \u4e03; \u516b; \u4e5d;\n" | |
50 | "\u5341; \u5341[>>];\n" | |
374ca955 | 51 | "20: <<\u5341[>>];\n" |
73c04bcf A |
52 | "100: \u767e[>>];\n" |
53 | "200: <<\u767e[>>];\n" | |
54 | "1000: \u5343[>>];\n" | |
55 | "2000: <<\u5343[>>];\n" | |
374ca955 A |
56 | "10,000: <<\u4e07[>>];\n" |
57 | "100,000,000: <<\u5104[>>];\n" | |
58 | "1,000,000,000,000: <<\u5146[>>];\n" | |
46f4442e A |
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=;" | |
374ca955 A |
62 | } |
63 | ||
64 | } |