decimal « Core « Spring Q&A





1. Double values truncated to 3 decimal places    forum.springsource.org

Double values truncated to 3 decimal places For the text fields showing double values; the value is shown only upto 3 decimal places. Although the actual value being set in the ...

2. StoredProc class exec method fails - BigDecimal to Decimal -values more than 5 digits    forum.springsource.org

StoredProc class exec method fails - BigDecimal to Decimal -values more than 5 digits Hi All, I have a DTO that has an attribute salary defined as BigDecimal, I have a ...

3. Can you specify the maximum number of decimal places for a field?    forum.springsource.org

Is it possible to specify the maximum number of decimal places allowed in a given field, using either: a field-level option in the roo shell, or a JSR-303 annotation on that ...