File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Get Mod (remainder) in java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Get Mod (remainder) in java" Watch "Get Mod (remainder) in java" New topic
Author

Get Mod (remainder) in java

Marie
Greenhorn

Joined: May 04, 2005
Posts: 28
This is a very simple question. But it does not work. I want to get remainder from a division.

a mod b did not take.

Please let me know what would be the expression to get a remainder from a division.

Thanks
Mei


Thanks<br />Marie
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24045
    
  13

a % b


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Get Mod (remainder) in java
 
Similar Threads
Circular Linked List
% operator
Another way to write this?
Calculating download time
Anyone familiar with Linear Feedback Shiftback Register.