The unscaled value is an integer, the scaled value may or may not be an integer. – T.J. Crowder. May 23 '15 at 8:43. 1. The scaled integer is the result: the decimal value.
What is BigDecimal value?
A BigDecimal consists of an arbitrary precision integer unscaled value and a 32-bit integer scale. If zero or positive, the scale is the number of digits to the right of the decimal point. If negative, the unscaled value of the number is multiplied by ten to the power of the negation of the scale.
What is the value of BigDecimal zero?
BigDecimal. ZERO will never ever change. It will always have to value 0.