File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
functoin which gives reminder from division operation
Joined: Apr 07, 2005
Feb 22, 2007 22:11:00
if we divide two numbers we have to get reminder like:
34/10=3 , but reminder is 4. we should catch 4 in an integer. any function in
which could return the reminder from division opration.
author and iconoclast
Joined: Jul 08, 2003
Feb 22, 2007 22:19:00
That would be the modulus operator, '%', as in 34 % 10 == 4.
Moving from Java in General (Advanced) to Java in General (Beginner). In the future,
choose a forum more carefully before posting a question.
[Jess in Action]
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: functoin which gives reminder from division operation
Why is this math wrong?
Reminder: Please always mention the source of any mock exam question you post.
Reminder: Position on posting real questions and requests for braindumps
Winners: Rails for Java Developers
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015