DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+3 =
Submit