Code example for BigDecimal

Methods: equals

0
		} 
		return valueString;
	} 
 
	public static ValueDecimal get(BigDecimal dec) {
		if(BigDecimal.ZERO.equals(dec)) {
			return (ValueDecimal)ZERO;
		} else if (BigDecimal.ONE.equals(dec)) {
			return (ValueDecimal)ONE;
		} 
		return new ValueDecimal(dec);
	} 
	@Override 
	public Object getObject() {
		return value;
	} 
}