Package com.echothree.util.common.string
Class DecimalUtils
java.lang.Object
com.echothree.util.common.string.DecimalUtils
-
Method Summary
-
Method Details
-
getInstance
-
parse
public String parse(String minusSign, String fractionSeparator, Integer fractionDigits, String value) - Parameters:
minusSign
- Character to use when looking for a minus sign in the value, may be null if amount is positive-onlyfractionSeparator
- Character that separates the whole part of the value from the decimal portionfractionDigits
- Number of characters to look for in the decimal portion of the valuevalue
- Value being parsed
-