round(数字 | 列 保留小数的位数):四舍五入。

select a.*,round(s),round(-s) from bqh4 a

round()和trunc()用法

trunc(数字 | 列 保留小数的位数):舍弃指定位置的内容。

select a.*,trunc(s),trunc(s,2),trunc(s,-1) from bqh4 a

round()和trunc()用法

 

相关文章:

  • 2022-12-23
  • 2021-06-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-08
  • 2021-11-21
  • 2022-12-23
  • 2021-07-23
  • 2022-12-23
  • 2021-07-02
相关资源
相似解决方案