函数简介
format_number(number x, int d)
Formats the number X to a format like '#,###,###.##', rounded to D decimal places, and returns the result as a string. If D is 0,the result has no decimal point or fractional part.
用途1 格式化金额字段
select format_number(100000,2)
10,000.00
文章转载自趣说大数据,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




