Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java 2 decimals

double res = Math.round(a * 100) / 100;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #decimals
ADD COMMENT
Topic
Name
2+3 =