AvoidDecimalLiteralsInBigDecimalConstructor

https://sourceforge.net/tracker/?func=detail&aid=2780464&group_id=176962&atid=879332
This commit is contained in:
teo_sarca 2009-04-24 13:41:27 +00:00
parent 387a56bab4
commit f246a7c136
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ public class Doc_Order extends Doc
*/
public BigDecimal getBalance()
{
BigDecimal retValue = new BigDecimal(0.0);
BigDecimal retValue = Env.ZERO;
StringBuffer sb = new StringBuffer (" [");
// Total
retValue = retValue.add(getAmount(Doc.AMTTYPE_Gross));