BigDecimal « Core « Spring Q&A





1. Spring Expression Language BigDecimal comparison    forum.springsource.org

Spring Expression Language BigDecimal comparison Trying to compare BigDecimal numbers can provide strange results. E.g. < operator: Code: public class OpLT extends Operator { public OpLT(int pos, SpelNodeImpl... operands) { super("<", ...

2. @NumberFormat not working on BigDecimal ?    forum.springsource.org

@NumberFormat not working on BigDecimal ? I am expecting the format annotation to apply itself to the value. I have a delegate pattern object encapsulating persistent entry. The delegate pattern object ...

3. Formatting bigdecimal    forum.springsource.org

Hi, i want to show prices in euros with 2 decimals, so 10 euro should be displayed as 10,00 I've been digging in the code and encountered things like Converter, ConversionService.... ...

4. Short and BigDecimal not required    forum.springsource.org

Trying to make Short and BigDecimal required through Spring Hi. I'm new to Spring so please bare with me. I have a bean that is setup as follows: Code: public SomeClass ...

5. BigDecimal representation problem    forum.springsource.org

Hello guys i work with BigDecimal object for hibernate property that represents of course decimals numbers like 0.5 or other ugly numbers my problem is how represent this number to format ...

6. SPEL - OperatorOverloader to BigDecimal    forum.springsource.org

Hi folks, I need to use a Expression Language API in a system. But in this system all operands is BigDecimal. I've tried implementing a OperatorOverloader in oder to translate expression ...

7. java.math.BigDecimal usage question    forum.springsource.org

i have something like this in the roo shell: field number --type java.math.BigDecimal --fieldName salestax --notNull --class invoice which gives me in the database: | salestax | decimal(19,2) | YES | ...

8. BigDecimal rounding incorrectly    forum.springsource.org

BigDecimal rounding incorrectly Has anyone seen anything like this? I have a field defined in a class as follows: @Column(name="AMOUNT", precision=19, scale=2) private BigDecimal amount = new BigDecimal(0); When I store ...

9. GTW and BigDecimal/Character    forum.springsource.org