Разделите Intagers JavaScript
var quotient = Math.floor(y/x);
var remainder = y % x;
Prickly Penguin
var quotient = Math.floor(y/x);
var remainder = y % x;
alert( (x/y).toFixed(2) )