Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

arrotondare un numero a 2 cifre dopo la virgola java

new BigDecimal(d).setScale(2 , BigDecimal.ROUND_UP).doubleValue();
 
PREVIOUS NEXT
Tagged: #arrotondare #numero #cifre #dopo #la #virgola #java
ADD COMMENT
Topic
Name
6+2 =