Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q1584 How can I find the remainder or the quotient in a division?

You are here: irt.org | FAQ | JavaScript | Number | Q1584 [ previous next ]

Try:

<script language="JavaScript"><!--
var a = 3;
var b = 2;
var remainder = a%b;
var quotient = parseInt(a/b);
//--></script>

Feedback on 'Q1584 How can I find the remainder or the quotient in a division?'

©2018 Martin Webb