Math.trunc(). The math.trunc() function removes any fractional digits and returns the integer part of a number: w3docs logo Javascript Math.trunc method.
確定! 回上一頁