Thanks Thomas

2009/10/5 Thomas Müller <[email protected]>

> Hi,
>
> For JCR 1.0, use string, or multiply by 100 and use long.
>
> For JCR 2.0, use decimal:
> http://www.day.com/specs/jcr/2.0/5_Reading.html#5.10.4.5%20DECIMAL
>
> Using double is not recommended, because of rounding problems:
> http://www.javaranch.com/journal/2003/07/MoneyInJava.html
> http://www.javapractices.com/topic/TopicAction.do?Id=13
>
> See also http://wiki.apache.org/jackrabbit/QuestionsAndAnswers "Monetary
> Values"
>
> Regards,
> Thomas
>

Reply via email to