数字转换成美元和人民币

select to_char(12313,'$999,999,999.99') from dual  --- $12,313.00
select to_char(12313,'L999,999,999.99') from dual  ---¥12,313.00

 

select to_number('$551,123.13','$999,999.99')  from dual    ---551123.13

posted @ 2018-12-29 21:26  大虎1  阅读(679)  评论(0编辑  收藏  举报