Manages the scale for floating point numbers (i.e., the number of digits to the right of the decimal point). Supports properties of the following types:
- java.lang.Float
- java.lang.Double
- java.math.BigDecimal (and its subclasses)
When applied, determines if the number includes more nonzero decimal places than the scale permits. If so, it rounds the number to the maximum number of decimal places allowed by the scale. The rounding behavior described above occurs automatically when the constraint is applied. This constraint does
not generate validation errors.
@author Jason Rudolph
@since 0.4