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.baeldung.com #
PREVIOUS
NEXT
Tagged:
#java
#decimals
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit