postgresql to_char integer to string
发布时间:2020-12-13 17:27:24 所属栏目:百科 来源:网络整理
导读:最近用到了postgresql中的to_char将数字转为字符串,现将官网的实例搜集如下 650) this.width=650;" src="http://img.jb51.cc/vcimg/static/loading.png" title="to_char.png" alt="wKioL1PXWUrBdQSxAAQeY2_oZAM247.jpg" src="http://s3.51cto.com/wyfs02/M0
最近用到了postgresql中的to_char将数字转为字符串,现将官网的实例搜集如下 除了以上功能外,to_char还有四舍五入的功能 selectto_char(3.005,'0.99') 返回3.01 selectto_char(3.003,'0.99') 返回的是3.00 好了有啥问题直接流言一超交流 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |