Oracle中将小数转换成字符丢零.截取小数.除数为零解决法

如下所示,前面少个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

原文地址:https://www.cnblogs.com/andy6/p/5840704.html