• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8" ?>
2<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3<!--
4Copyright © 1991-2013 Unicode, Inc.
5CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
6For terms of use, see http://www.unicode.org/copyright.html
7-->
8<ldml>
9    <identity>
10        <version number="$Revision$"/>
11        <language type="th"/>
12    </identity>
13    <rbnf>
14        <rulesetGrouping type="SpelloutRules">
15            <ruleset type="spellout-numbering-year">
16                <rbnfrule value="x.x">=0.0=;</rbnfrule>
17                <rbnfrule value="0">=%spellout-numbering=;</rbnfrule>
18            </ruleset>
19            <ruleset type="spellout-numbering">
20                <rbnfrule value="0">=%spellout-cardinal=;</rbnfrule>
21            </ruleset>
22            <ruleset type="spellout-cardinal">
23                <rbnfrule value="-x">ลบ​→→;</rbnfrule>
24                <rbnfrule value="x.x">←←​จุด​→→→;</rbnfrule>
25                <rbnfrule value="0">ศูนย์;</rbnfrule>
26                <rbnfrule value="1">หนึ่ง;</rbnfrule>
27                <rbnfrule value="2">สอง;</rbnfrule>
28                <rbnfrule value="3">สาม;</rbnfrule>
29                <rbnfrule value="4">สี่;</rbnfrule>
30                <rbnfrule value="5">ห้า;</rbnfrule>
31                <rbnfrule value="6">หก;</rbnfrule>
32                <rbnfrule value="7">เจ็ด;</rbnfrule>
33                <rbnfrule value="8">แปด;</rbnfrule>
34                <rbnfrule value="9">เก้า;</rbnfrule>
35                <rbnfrule value="10">สิบ[​→%%alt-ones→];</rbnfrule>
36                <rbnfrule value="20">ยี่​สิบ[​→%%alt-ones→];</rbnfrule>
37                <rbnfrule value="30">←←​สิบ[​→%%alt-ones→];</rbnfrule>
38                <rbnfrule value="100">←←​ร้อย[​→→];</rbnfrule>
39                <rbnfrule value="1000">←←​พัน[​→→];</rbnfrule>
40                <rbnfrule value="10000">←←​หมื่น[​→→];</rbnfrule>
41                <rbnfrule value="100000">←←​แสน[​→→];</rbnfrule>
42                <rbnfrule value="1000000">←←​ล้าน[​→→];</rbnfrule>
43                <rbnfrule value="1000000000000000000">=#,##0=;</rbnfrule>
44            </ruleset>
45            <ruleset type="alt-ones" access="private">
46                <rbnfrule value="1">เอ็ด;</rbnfrule>
47                <rbnfrule value="2">=%spellout-cardinal=;</rbnfrule>
48            </ruleset>
49            <ruleset type="spellout-ordinal">
50                <rbnfrule value="x.x">=#,##0.#=;</rbnfrule>
51                <rbnfrule value="0">ที่​=%spellout-cardinal=;</rbnfrule>
52            </ruleset>
53        </rulesetGrouping>
54        <rulesetGrouping type="OrdinalRules">
55            <ruleset type="digits-ordinal">
56                <rbnfrule value="-x">ที่ −→#,##0→;</rbnfrule>
57                <rbnfrule value="0">ที่ =#,##0=;</rbnfrule>
58            </ruleset>
59        </rulesetGrouping>
60    </rbnf>
61</ldml>
62