Package org.compiere.util
Class AmtInWords_EN
- java.lang.Object
-
- org.compiere.util.AmtInWords_EN
-
- All Implemented Interfaces:
AmtInWords
public class AmtInWords_EN extends Object implements AmtInWords
Amount in Words for English- Version:
- $Id: AmtInWords_EN.java,v 1.3 2006/07/30 00:54:35 jjanke Exp $
- Author:
- Jorg Janke - http://www.rgagnon.com/javadetails/java-0426.html
-
-
Constructor Summary
Constructors Constructor Description AmtInWords_EN()
AmtInWords_EN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAmtInWords(String amount)
Get Amount in Wordsstatic void
main(String[] args)
Test
-
-
-
Method Detail
-
getAmtInWords
public String getAmtInWords(String amount) throws Exception
Get Amount in Words- Specified by:
getAmtInWords
in interfaceAmtInWords
- Parameters:
amount
- numeric amount (352.80)- Returns:
- amount in words (three*five*two 80/100)
- Throws:
Exception
-
main
public static void main(String[] args)
Test- Parameters:
args
- ignored
-
-