public class NumberToWord extends Object
| Constructor and Description |
|---|
NumberToWord() |
| Modifier and Type | Method and Description |
|---|---|
static String |
amountInWords(Double number)
Amount in words.
|
static String |
convertToWord(String number)
Translate the given currency number to word .
|
static String |
formatDecimal(Double value)
Format decimal values.
|
static String |
getWord(Long number)
Gets the word.
|
static String |
numberToString(String strNumberToConvert)
Number to string.
|
static String |
translateToWord(String number)
Translate the given number to word.
|
public static String formatDecimal(Double value)
value - the valuepublic static String amountInWords(Double number)
number - the numberpublic static String numberToString(String strNumberToConvert)
strNumberToConvert - the str number to convertpublic static String convertToWord(String number)
number - the numberpublic static String translateToWord(String number)
convertToWord(String)String - numberCopyright © 2015–2017 eGovernments Foundation. All rights reserved.