How to convert a double to int in Java. ... Let's say that the double variable x holds the value 3.6987 and needs to be converted to an int .
確定! 回上一頁