Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > how to get the remainder from a division?

Reply
Thread Tools

how to get the remainder from a division?

 
 
Dave
Guest
Posts: n/a
 
      08-28-2003
Hi,

Doe it exist a similar function or operator like 'mod' in VBscript in order
to get the remainder of a division?

Thanks
dave


 
Reply With Quote
 
 
 
 
Douglas Crockford
Guest
Posts: n/a
 
      08-28-2003
> Doe it exist a similar function or operator like 'mod' in VBscript in order
> to get the remainder of a division?


var mod = a % b;

http://www.crockford.com/javascript/survey.html

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How can I find the remainder when dividing 2 integers silverburgh.meryl@gmail.com Python 10 02-26-2006 10:29 PM
Table Column Width - Setting as remainder of page =?Utf-8?B?Sm9obiBCYW5raGVhZA==?= ASP .Net 0 03-24-2005 02:57 PM
Re: Remainder John Saunders ASP .Net 0 06-28-2004 06:34 PM
polynomial division remainder Manfred Balik VHDL 5 05-18-2004 02:37 AM



Advertisments