Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java 2 decimals

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