Package org.openbravo.erpCommon.utility
Class ISOCurrencyPrecision
- java.lang.Object
-
- org.openbravo.erpCommon.utility.ISOCurrencyPrecision
-
public class ISOCurrencyPrecision extends Object
Returns the standard currency precission for a specific currency defined in ISO 4217. If not found in ISO, returns a standard precision of 2.- Author:
- markmm82, jorge-garcia
- See Also:
SL_Currency_StdPrecision
-
-
Constructor Summary
Constructors Constructor Description ISOCurrencyPrecision()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getCurrencyPrecisionInISO4217Spec(String paramISOCode)
Find defined currency precision for specific ISO Code in ISO 4217 XML specification.
-
-
-
Method Detail
-
getCurrencyPrecisionInISO4217Spec
public static int getCurrencyPrecisionInISO4217Spec(String paramISOCode)
Find defined currency precision for specific ISO Code in ISO 4217 XML specification. If there is no currency defined for ISO Code parameter, then it returns 2 as the default standard precision value.- Parameters:
paramISOCode
- Currency ISO Code identifier to be found- Returns:
- Currency Precision in ISO Specifications or default standard precision used in system for currency standard precision
-
-