Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript performing an integer division

var quotient = Math.floor(y/x);
var remainder = y % x;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #performing #integer #division
ADD COMMENT
Topic
Name
2+5 =