Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Commit

Permalink
I had a look at type="Double" in *SimpleMethods*.xml, *events*.xml, *…
Browse files Browse the repository at this point in the history
…formula*.xml, *services*.xml, *tests*.xml files and I found only this one (about currency) to be changed to BigDecimal. I think others occurrences are ok since they deal about rate or quantity. Else it's not a big deal to change them, so please (Scott, David?) let me know, thanks

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/typecheckcleanup200810@730545 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
JacquesLeRoux committed Jan 1, 2009
1 parent 1faf474 commit 06d2f72
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -743,7 +743,7 @@
<set field="responseAnswer.textResponse" from-field="answers.${currentFieldName}"/>
</if-compare>
<if-compare field="surveyQuestionAndAppl.surveyQuestionTypeId" operator="equals" value="NUMBER_CURRENCY">
<set field="responseAnswer.currencyResponse" from-field="answers.${currentFieldName}" type="Double"/>
<set field="responseAnswer.currencyResponse" from-field="answers.${currentFieldName}" type="BigDecimal"/>
</if-compare>
<if-compare field="surveyQuestionAndAppl.surveyQuestionTypeId" operator="equals" value="NUMBER_FLOAT">
<set field="responseAnswer.floatResponse" from-field="answers.${currentFieldName}" type="Double"/>
Expand Down

0 comments on commit 06d2f72

Please sign in to comment.