A value like 3.999999 casted to an int or long will give 3, not 4. To round these properly, use Math.round( ) . There are two forms; if you give it a double , ...
確定! 回上一頁