Click here to Skip to main content
16,023,001 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Please help me out..........................................................................
Posted

1 solution

If you are talking about formatting the numbers in a cell in Excel (no way to tell from your post, really) you should look at the custom formats and, perhaps, something like this: #,##0;{#,##0}

You mention code? Do you mean to do this in code? Where? What is the context?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900