math division in javascript
Is there a way to divide a number and find if there is a remainder in Javascript?
User enters a year that's divided by 4 to find if year is bissextile (leap-year). Or is there another way? Thank you for your help. |
try the following
var rmndr = a%b |
That did the job. Thank you.
|
All times are GMT -5. The time now is 04:55 PM. |