2015年5月20日 星期三

[Java] float , double and which situation will loss of the precision


數值與字串型態
在基本型態中,依需要的資料精確度不同,浮點數可以使用 float(四位元組) 與double(八位元組)兩個型態。在程式中寫下像是 0.3 這樣的浮點數實字,會使用double 型態,因此 …
來源:http://www.codedata.com.tw/java/java-tutorial-the-2nd-class-1-numeric-types-and-string/


資料型別http://programming.im.ncnu.edu.tw/J_index.html

沒有留言:

張貼留言