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