The result is still a floating point, so you will need the cast. float z = 5.567f; int a = (int) Math.Round (z);. If you need to convert an ...
確定! 回上一頁