DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
how to truncate decimals in java
DecimalFormat df = new DecimalFormat(fmt); df.setRoundingMode(RoundingMode.DOWN); s = df.format(d);
PREVIOUS
NEXT
Tagged:
#truncate
#decimals
#java
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit