If you need 10 then you need to use Math.round() method to first round the double value to the nearest integer and then truncate decimals.
確定! 回上一頁