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>
©2018 Martin Webb