Package ru.bgcrm.util
Class NumberToText
java.lang.Object
ru.bgcrm.util.NumberToText
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static String
getS1
(int n, int gender) protected static String
getS10
(int n) protected static String
getS100
(int n) protected static String
getS11
(int n) protected static String
getUnit
(int idx, long cnt) protected static int
getUnitGender
(int idx) static String
numberToString
(Number num) protected static String
triadToString
(int n, int gender, boolean acceptZero)
-
Constructor Details
-
NumberToText
public NumberToText()
-
-
Method Details
-
getS1
-
getS11
-
getS10
-
getS100
-
getUnitGender
protected static int getUnitGender(int idx) -
getUnit
-
triadToString
-
numberToString
-