$1,890.55格式的显示-成都快上网建站

$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://kswjz.com/article/jpdggg.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流