Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java 2 decimals

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