select cast(11 as unsigned int) /*整型*/select cast(11 as decimal(10,2)) /*浮点型*/注:(10,2)代表数字共十位,小数点后两位。
posted on 2017-11-01 07:54 七七2020 阅读(15223) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 七七2020 Powered by .NET 8.0 on Kubernetes