[
https://issues.apache.org/jira/browse/OFBIZ-11862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17148672#comment-17148672 ]
ASF subversion and git services commented on OFBIZ-11862:
---------------------------------------------------------
Commit 8ca14ec910810810d8e86a767d775b3382202d38 in ofbiz-plugins's branch refs/heads/trunk from Jacques Le Roux
[
https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=8ca14ec ]
Fixed: BigDecimal casting in Groovy (OFBIZ-11862)
Sometimes use wrong type castings for BigDecimal:
I have observed that for typecasting in groovy, we have used the wrong coding
pattern like
(BigDecimal) 0
It should be like
0 as BigDecimal
Note that this does not apply to decimal because in case of decimal, the default
type is always BigDecimal in Groovy.
Thanks: Pritam Kute for spotting the issue in OFBIZ-11843
--
This message was sent by Atlassian Jira
(v8.3.4#803005)