You can use a similar approach for other primitive data types, such as double , float , etc. Just make sure to use the appropriate method from the Math class ( ...
確定! 回上一頁