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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top