module CLDR::Plurals
Defined in:
cldr/logic/number_properties.crClass Method Summary
-
.compute_number_properties(source)
Computes and returns all the CLDR properties regarding a number
-
.get_f(source : Number) : Int
Get CLDR plural operand
f, visible fraction digits in n, with trailing zeros. -
.get_f(source : String) : Int
Same as
.get_f(source : Number)but for String -
.get_i(source : Number) : Int
Get CLDR plural operand
i, integer digits of n. -
.get_i(source : String) : Int
Same as
.get_i(source : Number)but for String -
.get_n(source : Number) : Number
Get CLDR plural operand
n, absolute value of the source number. -
.get_n(source : String) : Number
Same as
.get_n(source : Number)but for String -
.get_t(source : Number) : Int
Get CLDR plural operand
t, visible fraction digits in n, without trailing zeros. -
.get_t(source : String) : Int
Same as
.get_t(source : Number)but for String -
.get_v(source : Number) : Int
Get CLDR plural operand
v, number of visible fraction digits in n, with trailing zeros. -
.get_v(source : String) : Int
Same as
.get_v(source : Number)but for String -
.get_w(source : Number) : Int
Get CLDR plural operand
w, number of visible fraction digits in n, without trailing zeros. -
.get_w(source : String) : Int
Same as
.get_w(source : Number)but for String
Class Method Detail
Computes and returns all the CLDR properties regarding a number
Get CLDR plural operand f, visible fraction digits in n, with trailing zeros.
Get CLDR plural operand i, integer digits of n.
Get CLDR plural operand n, absolute value of the source number.
Same as .get_n(source : Number) but for String
Get CLDR plural operand t, visible fraction digits in n, without trailing zeros.
Get CLDR plural operand v, number of visible fraction digits in n, with trailing zeros.
Get CLDR plural operand w, number of visible fraction digits in n, without trailing zeros.