number formatting

J

james

Hi

Im having a problem getting a number to display correctly. The number is
the result of a calculation and I am then using formatnumber to remove any
decimals.

The number displays as '1,345' is there any way to get rid of the comma

Thanks

J
 
A

Aaron Bertrand [SQL Server MVP]

Did you read the documentation on formatnumber? One of the arguments is
"groupDigits" which means use comma separators between thousands...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,539
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top