在查询中使用FORMAT时,我得到了错误的结果..我想将数字格式化为印度货币,我遵循的是正确的方法,但是不起作用
这是我的查询
select distinct FORMAT(sum(netamount), 'en_IN') as amount
from syncbill
where cancelled<>'Y' and year(curdate())=year(billdate)
我的值是netamount
是 27227004 ,格式化后它应该显示 2,72,27,004 ,但显示 27,227,004 < / p>
这是我在运行此查询时得到的
select distinct FORMAT(sum(netamount), 0, 'en_IN') as amount
from syncbill
where cancelled<>'Y' and year(curdate())=year(billdate)