how do i round number in java?
for example: 12.45 to 12.5
should i use float or double as variable?
how do i round number in java?
for example: 12.45 to 12.5
should i use float or double as variable?
For further actions, you may consider blocking this person and/or reporting abuse
Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.
Bob Cars(on) -
Jordan Knightin -
Zhang Wei -
ashu-commits -
Top comments (1)
Hi Ahmad, 5 seconds with a search engine found this useful article:
baeldung.com/java-round-decimal-nu...
Please do a little research before posting such questions on dev.to 😄