經安全檢測,此網站為安全網站,請放心前往原始網址!

BigDecimal, setScale() and ROUND_HALF_UP... (Beginning Java forum at JavaRanch)

Hello, I am wondering why running the following: [code] import java.math.BigDecimal; public class Test { public static void main(String args[]) ... I would have also rounded the latter to -2.13, since -2.13 is numerically greater than -2.1350. Anyway, I w

www.coderanch.com

網址安全性掃描由 google 提供