The Math.trunc() method is used to return the integer part of a number. It will not round up or down the number. It will just simply remove the decimals.