以下是官网截图(Chrome浏览器翻译了中文),具体看官方参考文档
以上截图就是参考文档1
以上截图就是参考文档3
官方参考官方文档:
1、https://dev.mysql.com/doc/refman/8.0/en/fixed-point-types.html
2、https://dev.mysql.com/doc/refman/8.0/en/precision-math.html
3、https://dev.mysql.com/doc/refman/8.0/en/precision-math-examples.html