JSREF

JavaScript Math.trunc()

The Math.trunc() method returns the integer part of a number.