BigDecimal, precision and scale
I'm using BigDecimal for my numbers in my application, for example, with JPA. I did a bit of researching about the terms 'precision' and 'scale' but I don't understand what are they exactly. Can anyone explain me the meaning of 'precision' and 'scale' for a BigDecimal value? @Column(precision = 11, scale = 2) Thanks! Austin D A BigDecimal is defined by two values: an arbitrary precision integer and a 32-bit integer scale . The value of the BigDecimal is defined to be . Precision: The precision is the number of digits in the unscaled value. For instance, for the number 123.45, the precision