48 lines
2.2 KiB
Plaintext
48 lines
2.2 KiB
Plaintext
|
// ***************************************************************************
|
||
|
// *
|
||
|
// * Copyright (C) 2004, International Business Machines
|
||
|
// * Corporation and others. All Rights Reserved.
|
||
|
// *
|
||
|
// ***************************************************************************
|
||
|
//
|
||
|
|
||
|
he {
|
||
|
//------------------------------------------------------------
|
||
|
// Rule Based Number Format Support
|
||
|
//------------------------------------------------------------
|
||
|
|
||
|
// * Spellout rules for Hebrew. Hebrew actually has inflected forms for
|
||
|
// * most of the lower-order numbers. The masculine forms are shown
|
||
|
// * here.
|
||
|
|
||
|
// This data is woefully incomplete. Can someone fill me in on the
|
||
|
// various inflected forms of the numbers, which seem to be necessary
|
||
|
// to do Hebrew correctly? Can somone supply me with data for values
|
||
|
// from 1,000,000 on up? What about the word for zero? What about
|
||
|
// information on negatives and decimals?
|
||
|
|
||
|
SpelloutRules {
|
||
|
// negative number rule. This rule is used to format negative
|
||
|
// numbers. The result of formatting the number's absolute
|
||
|
// value is placed where the >> is.
|
||
|
"-x: \u05de\u05d9\u05e0\u05d5\u05e1 >>;\n"
|
||
|
"0: \u05d0\u05e4\u05e1; \u05d0\u05d7\u05d3; \u05e9\u05d2\u05d9\u05d9\u05dd; \u05e9\u05dc\u05d5\u05e9\u05d4;\n"
|
||
|
"4: \u05d0\u05e8\u05d1\u05e2\u05d4; \u05d7\u05de\u05d9\u05e9\u05d4; \u05e9\u05d9\u05e9\u05d4;\n"
|
||
|
"7: \u05e9\u05d1\u05e2\u05d4; \u05e9\u05de\u05d5\u05e0\u05d4; \u05ea\u05e9\u05e2\u05d4;\n"
|
||
|
"10: \u05e2\u05e9\u05e8\u05d4[ >>];\n"
|
||
|
"20: \u05e2\u05e9\u05e8\u05d9\u05dd[ >>];\n"
|
||
|
"30: \u05e9\u05dc\u05d5\u05e9\u05d9\u05dd[ >>];\n"
|
||
|
"40: \u05d0\u05e8\u05d1\u05e2\u05d9\u05dd[ >>];\n"
|
||
|
"50: \u05d7\u05de\u05d9\u05e9\u05d9\u05dd[ >>];\n"
|
||
|
"60: \u05e9\u05d9\u05e9\u05d9\u05dd[ >>];\n"
|
||
|
"70: \u05e9\u05d1\u05e2\u05d9\u05dd[ >>];\n"
|
||
|
"80: \u05e9\u05de\u05d5\u05e0\u05d9\u05dd[ >>];\n"
|
||
|
"90: \u05ea\u05e9\u05e2\u05d9\u05dd[ >>];\n"
|
||
|
"100: \u05de\u05d0\u05d4[ >>];\n"
|
||
|
"200: << \u05de\u05d0\u05d4[ >>];\n"
|
||
|
"1000: \u05d0\u05dc\u05e3[ >>];\n"
|
||
|
"2000: << \u05d0\u05dc\u05e3[ >>];\n"
|
||
|
"1,000,000: =#,##0= (incomplete data);"
|
||
|
}
|
||
|
}
|