Commit a1ad33a9 authored by ngadkari's avatar ngadkari

CHANGE IN ROUNDING METHOD ROUND_HALF_UP

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@194302 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 80ff68a1
......@@ -16479,7 +16479,8 @@ public String nfCheckPeriod(String modCode, java.util.Date tranDate , String sit
//Added By PriyankaC to rounding the decimal.[Start]
private static BigDecimal rounded(BigDecimal aNumber, int prec)
{
return aNumber.setScale(prec, BigDecimal.ROUND_HALF_EVEN);
//return aNumber.setScale(prec, BigDecimal.ROUND_HALF_EVEN);
return aNumber.setScale(prec, BigDecimal.ROUND_HALF_UP);// ADDED BY NANDKUMAR GADKARI ON 11/12/18
}
//Added By PriyankaC to rounding the decimal.[END]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment