AvoidDecimalLiteralsInBigDecimalConstructor
https://sourceforge.net/tracker/?func=detail&aid=2780464&group_id=176962&atid=879332
This commit is contained in:
parent
387a56bab4
commit
f246a7c136
|
@ -281,7 +281,7 @@ public class Doc_Order extends Doc
|
||||||
*/
|
*/
|
||||||
public BigDecimal getBalance()
|
public BigDecimal getBalance()
|
||||||
{
|
{
|
||||||
BigDecimal retValue = new BigDecimal(0.0);
|
BigDecimal retValue = Env.ZERO;
|
||||||
StringBuffer sb = new StringBuffer (" [");
|
StringBuffer sb = new StringBuffer (" [");
|
||||||
// Total
|
// Total
|
||||||
retValue = retValue.add(getAmount(Doc.AMTTYPE_Gross));
|
retValue = retValue.add(getAmount(Doc.AMTTYPE_Gross));
|
||||||
|
|
Loading…
Reference in New Issue