aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Mod function in JS? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Mod function in JS?" Watch "Mod function in JS?" New topic
Author

Mod function in JS?

auvrm papu
Ranch Hand

Joined: Sep 01, 2005
Posts: 105
is there a mod function in JS?

like 10 % 2
or 10 mod 2
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61218
    
  66

Did you try it?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
auvrm papu
Ranch Hand

Joined: Sep 01, 2005
Posts: 105
thanks Bear..

I did try..before..and got an error..so I just wanted to verify...
(just figured out that I had some other issues ...in the paranthesis..! )
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61218
    
  66

You probably could have saved yourself some time by posting your code and the error that you were getting. You should also think about getting yourself a good JavaScript reference to answer these types of questions for you quickly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mod function in JS?