double doubleNumber = 24.04; int intPart = (int) doubleNumber; ... to get the integer and decimal parts of a floating point number:.
確定! 回上一頁