The list of methods to do BigDecimal Parse are organized into topic(s).
boolean
isBigDecimal(Number n) Finds out if n represents a BigInteger
if (n instanceof BigDecimal) {
return true;
try {
new BigDecimal(String.valueOf(n));
return true;
} catch (NumberFormatException e) {
return false;
...
boolean
isBigDecimal(String str) is Big Decimal
try {
new BigDecimal(str);
return true;
} catch (Exception e) {
return false;
boolean
isBigDecimal(String value) <p;>Checks; if the value can safely be converted to a BigDecimal.
return (formatBigDecimal(value) != null);
boolean
isBigDecimalAssignable(String javaDataType) is Big Decimal Assignable
try {
return BigDecimal.class.isAssignableFrom(Class.forName(javaDataType));
} catch (ClassNotFoundException e) {
throw new IllegalArgumentException(e);