4
小数点后 '0' 我要追加尾随 '0' 号在执行Select查询:追加在甲骨文
我要的是选择
344.89为344.890
123213.45如123213.450
1.2如1.200
我三ED使用 to_char(col_name,'000000.000')
但导致
344.89 => 000344.890
123213.45 => 123213.450
1.2 => 000001.200
有不希望的 '0' 添加到结果。
344.891或344.8901会发生什么? http://stackoverflow.com/questions/6662153/how-to-expand-decimal-places-of-a-number-to-a-minimum-in-oracle-plsql –
重复的http://stackoverflow.com/问题/ 6662153/how-to-expand-decimal-places-of-a-number-to-a-minimum-in-oracle-plsql – Darkzaelus