Example 2: Convert double to int using Math.round() ... In the above example, we have created two double variables named a and b . Notice the line, int c = (int) ...
確定! 回上一頁