成都创新互联网站制作重庆分公司

$1,890.55格式的显示

Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 
Connected as sh

SQL> SELECT TO_CHAR(1890.55,'$99,999.99')
  2  FROM DUAL;


TO_CHAR(1890.55,'$99,999.99')
-----------------------------
  $1,890.55


SQL> 
SQL> SELECT TO_CHAR(1890.55,'$99G999D00')
  2  FROM DUAL;


TO_CHAR(1890.55,'$99G999D00')
-----------------------------
  $1,890.55


SQL> 
SQL> SELECT TO_CHAR(1890.55,'$99G999D99')
  2  FROM DUAL;


TO_CHAR(1890.55,'$99G999D99')
-----------------------------
  $1,890.55


SQL> 
SQL> SELECT TO_CHAR(1890.55,'$0,000.00')
  2  FROM DUAL;


TO_CHAR(1890.55,'$0,000.00')
----------------------------
 $1,890.55


SQL> 


本文标题:$1,890.55格式的显示
转载源于:http://cxhlcq.com/article/jpdggg.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部