MySQL入門筆記 —— 031 浮點列和定點列

1、float float(M,D) M是精度,總位數。D標度,小數點後面的位數。 (5,2)表示總位數只能爲5位,小數點後爲2位 2、decimal f float d double 浮點數 有精度損失 d decimal 定點型 更精確
相關文章
相關標籤/搜索