... to separate integer and decimal parts of a double number in Java. ... double doubleNumber = 24.04; int intPart = (int) doubleNumber; ...
確定! 回上一頁