code: public static boolean isValueEquals(BigDecimal decimal1, BigDecimal decimal2) {
  		if (decimal1 == null && decimal2 == null) return true;
  		if (decimal1 == null && decimal2 != null) return false;
  		if (decimal1 != null && decimal2 == null) return false;
  		return cutInvalidSacle(decimal1).equals(cutInvalidSacle(decimal2));
  	}
docs: e.g. 0.30 equals 0.3 && 0.30 equals 0.30 && 0.30 equals 0.300.