I am getting wrong result while using FORMAT in my query .. I want to format the numbers into Indian currency I am following right approach but its not working
Here is my query
select distinct FORMAT(sum(netamount), 'en_IN') as amount
from syncbill
where cancelled<>'Y' and year(curdate())=year(billdate)
my value is as netamount
is 27227004 after formatting it should show 2,72,27,004 but its showing 27,227,004
I don't know where I am going wrong please guide me if anyone having knowledge here.
this is i am getting while running this query
select distinct FORMAT(sum(netamount), 0, 'en_IN') as amount
from syncbill
where cancelled<>'Y' and year(curdate())=year(billdate)