However if you are printing the value you can use the DecimalFormat class, ie ... 7"; float yourFloat = Float. how to format decimal places in java 8 double ...
確定! 回上一頁