A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
Rounding off.
akhil poddar
Greenhorn
Joined: Aug 23, 2001
Posts: 4
posted
Aug 25, 2001 02:04:00
0
Suppose we are calculating Percentage of a student say X.
X gets 68.4467%. How can we round this up to 68.45%.
------------------
Angela Narain
Ranch Hand
Joined: Apr 14, 2001
Posts: 327
posted
Aug 25, 2001 02:45:00
0
By using the
java.math.BigDecimal
class .
I agree. Here's the link:
http://aspose.com/file-tools
subject: Rounding off.
Similar Threads
Beans
While loop - Head's First Java example
Sun Sample queston #5
variable or reference?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter