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

java - Round a double to 2 decimal places - Stack Overflow

2010年5月11日 - How to round a number to n decimal places in Java 16 answers ... places); value = value * factor; long tmp = Math.round(value); return (double) ...

stackoverflow.com

網址安全性掃描由 google 提供