Bugs item #1569711: removed hard-coded Rupiah to support all currency
This commit is contained in:
parent
2e6c1af3dc
commit
c9fa537268
|
@ -20,6 +20,9 @@ package org.compiere.util;
|
||||||
/**
|
/**
|
||||||
* Amount in Words for Bahasa Indonesia
|
* Amount in Words for Bahasa Indonesia
|
||||||
*
|
*
|
||||||
|
* Bugs item #1569711: remove hard-coded "Rupiah" to support all currency
|
||||||
|
* Contributor: Armen Rizal (www.goodwill.co.id)
|
||||||
|
*
|
||||||
* @author Halim Englen
|
* @author Halim Englen
|
||||||
* @version $Id: AmtInWords_IN.java,v 1.3 2006/07/30 00:54:36 jjanke Exp $
|
* @version $Id: AmtInWords_IN.java,v 1.3 2006/07/30 00:54:36 jjanke Exp $
|
||||||
*/
|
*/
|
||||||
|
@ -68,7 +71,7 @@ public class AmtInWords_IN implements AmtInWords
|
||||||
public static String sayNumber(double number) {
|
public static String sayNumber(double number) {
|
||||||
StringBuffer result = new StringBuffer();
|
StringBuffer result = new StringBuffer();
|
||||||
sayNumber(result, number);
|
sayNumber(result, number);
|
||||||
result.append(" Rupiah");
|
//result.append(" Rupiah");
|
||||||
return result.toString();
|
return result.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -212,7 +215,7 @@ public class AmtInWords_IN implements AmtInWords
|
||||||
numDouble = Double.parseDouble(cents);
|
numDouble = Double.parseDouble(cents);
|
||||||
sayNumber(result, numDouble);
|
sayNumber(result, numDouble);
|
||||||
}
|
}
|
||||||
result.append(" Rupiah");
|
//result.append(" Rupiah");
|
||||||
return result.toString();
|
return result.toString();
|
||||||
} // getAmtInWords
|
} // getAmtInWords
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue