Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Round to nearest multiple of 5??

807598Dec 15 2005 — edited Dec 15 2005
Ive got an integer coming in and I need to output a result that is rounded to the nearest mulitple of 5....

I know i need to use the %modulo operator?

help!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 12 2006
Added on Dec 15 2005
21 comments
775 views