Package org.compiere.util
Class AmtInWords_PT
- java.lang.Object
-
- org.compiere.util.AmtInWords_PT
-
- All Implemented Interfaces:
AmtInWords
public class AmtInWords_PT extends Object implements AmtInWords
Portuguese Amount in Words- Version:
- $Id: AmtInWords_PT.java,v 1.0 2008/01/07 00:54:36 ralexsander Exp $
- Author:
- Jorg Janke - http://www.rgagnon.com/javadetails/java-0426.html
-
-
Constructor Summary
Constructors Constructor Description AmtInWords_PT()
AmtInWords_PT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAmtInWords(String amount)
Get Amount in WordsString
getAmtInWords(BigDecimal amount)
static void
main(String[] args)
-
-
-
Method Detail
-
getAmtInWords
public String getAmtInWords(BigDecimal amount) throws Exception
- Throws:
Exception
-
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
-
-