zoukankan
html css js c++ java
mysql中设置小数
decimal
Decimal(n,m)表示数值中共有n位数,其中整数n-m位,小数m位。例:decimal(10,6),数值中共有10位数,其中整数占4位,小数占6位。
例:decimal(2,1),此时,插入数据“12.3”、“12”等会出现“数据溢出错误”的异常;插入“1.23”或“1.2345...”会自动四舍五入成“1.2”;
插入“2”会自动补成“2.0”,以确保2位的有效长度,其中包含1位小数。
查看全文
相关阅读:
并查集
树状数组及二维树状数组
maven工程编译成jar包
The Salt Master has rejected this minion's public key!
salt-minion dead but pid file exists 正确解决方法
mysql 查找表的auto_increment和修改
fastjson --JSONObject 和JSONArray 转换
git 获取当前版本的commitid
fastjson 使用笔记
spring IOC 注解@Resource
原文地址:https://www.cnblogs.com/pansidong/p/8656178.html
最新文章
LeetCode-Search in Rotated Sorted Array
LeetCode-Next Permutation
《APUE》读书笔记第十一章-线程
C++内存对象布局
LeetCode-Substring with Concatenation of All Words
《APUE》-第五章标准IO库
LeetCode-Divdend two Integers
LeetCode-Remove Duplicates from Sorted Array
LeetCode-Reverse Nodes in k-Group
要刷dfs的题了
热门文章
java学习感想
java安装步骤
[NOI2015]程序自动分析
[NOI2011]道路修建
CF598A Tricky Sum
[POI2005]BAN-Bank Notes
[POI2005]AUT-The Bus
[POI2002][HAOI2007]反素数
SBT(Size Balanced Tree)
树链剖分
Copyright © 2011-2022 走看看