sql中的浮点型数据类型

版权声明:转载请注明出处 https://blog.csdn.net/doubleguy/article/details/89739328

浮点型常用numeric,用法 numeric(m,n),m代表连上小数位总共有多少位(即这个浮点数的总位数),n代表小数点后的位数。如果省略n写成numeric(m)可以表示整数。float也有一种用法,float(n),其中n是浮点数的精度。

猜你喜欢

转载自blog.csdn.net/doubleguy/article/details/89739328