As shown above, typecasting will convert the double value to an integer by just dropping any number after the decimal points. Whereas Math.round ...
確定! 回上一頁