Answer: Use the JavaScript trunc() Method. You can use the trunc() method to get the integer part of a number by removing any fractional digits.
確定! 回上一頁