Home > Database > Mysql Tutorial > body text

Oracle数据显示保留小数点的问题

WBOY
Release: 2016-06-07 17:12:59
Original
1223 people have browsed it

因为工作需要要写一个保留小数点的方法或SQL语句,number类型的小数,如果是0.5或-0.5,打印的时候就会显示成.5或-.5,显然不是我

因为工作需要要写一个保留小数点的方法或SQL语句,,number类型的小数,如果是0.5或-0.5,打印的时候就会显示成.5或-.5,显然不是我想要的,自己就简单的写了一个,功能可以实现了,效率不高,高手们多多指教。

更多Oracle相关信息见Oracle 专题页面 ?tid=12

linux

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template