Closed harishkesavulu24 closed 4 years ago
Hai there,
Could not able to round for the number 0.5 with precision 0 and Rounding Mode HALF_UP
Eg: var num = new bigDecimal("0.5"); var numRound1 = num.round(0, bigDecimal.RoundingModes.HALF_UP); Expected output:1 but returning 0
Hai there,
Could not able to round for the number 0.5 with precision 0 and Rounding Mode HALF_UP
Eg: var num = new bigDecimal("0.5"); var numRound1 = num.round(0, bigDecimal.RoundingModes.HALF_UP); Expected output:1 but returning 0