You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by Apache Wiki <wi...@apache.org> on 2009/10/05 10:33:38 UTC

[Jackrabbit Wiki] Update of "QuestionsAndAnswers" by ThomasMueller

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "QuestionsAndAnswers" page has been changed by ThomasMueller:
http://wiki.apache.org/jackrabbit/QuestionsAndAnswers?action=diff&rev1=43&rev2=44

  
  A very nice site for programming questions is [[http://stackoverflow.com|Stackoverflow]], which also has some questions about [[http://stackoverflow.com/questions/tagged/jcr|JCR]] and [[http://stackoverflow.com/questions/tagged/jackrabbit|Jackrabbit]].
  
+ === Frequently Asked Questions ===
+ 
+ ==== Monetary Values ====
+ 
+ Q: How do I store monetary values?
+ 
+ A: For JCR 1.0, use string, or multiply by 100 and use long. For JCR 2.0, use decimal. Using double is not recommended, because of rounding problems : [[http://www.javaranch.com/journal/2003/07/MoneyInJava.html|Java Ranch]] [[http://www.javapractices.com/topic/TopicAction.do?Id=13|Java Practices]].
+