TO_CHAR(number,'format_model')

9 -->Represents a number

0 --> Forces a zero to be displayed

.  -->Prints a decimal point

, --> Prints a comma as a thousands indicator

 

select to_char(6000,'99,999.00') from dual;

6,000.00

select to_char(6000,'00,000.00') from dual;

06,000.00

相关文章:

  • 2022-02-08
  • 2022-12-23
  • 2022-01-16
  • 2021-12-18
  • 2023-02-20
  • 2022-02-10
  • 2022-02-22
猜你喜欢
  • 2022-12-23
  • 2022-01-26
  • 2021-11-27
  • 2022-12-23
  • 2021-09-15
  • 2022-02-28
  • 2021-11-18
相关资源
相似解决方案