如下所示,前面少个0
SQL>select money from users where username ='LEI';
money
---------
.3256
解决方法:
SQL>select to_char(money ,'fm9999999990.00') from users where username ='LEI';
money
---------
0.3256
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31448824/viewspace-2139349/ ,如需转载,请注明出处,否则将追究法律责任。