Divide two number and get the integer - Node.js Number

Node.js examples for Number:Int

Description

Divide two number and get the integer

Demo Code


function div ( a, b )
{
  return Math.floor( a / b );
}

Related Tutorials