[SharePoint 2007] Remove Commas From Number Column Workaround
I thought this article was a brilliant workaround and wanted to share. It was original posted over at:
Let’s say you have a column named “TicketNumber” of number type in your list. By default SharePoint formats it to show with commas. If your requirement is not to show those comma’s then here is a workaround.
Create another column of “Calculated” column type and set the formula as follows:
=TEXT(Original_Number_Column_Name,”0″)
Ex: =TEXT([TicketNumber],”0″)
And then use the calculated column in place of your original column for display purposes.
Leave a comment
Follow John Chapman
SharePoint StackExchange
- http://t.co/iQpe9vD0 - #sharepoint - [SharePoint 2010 / SQL Server 2008] Query the SharePoint Object Model from a .NET SQL Server CLR Functi
- http://t.co/2dyRsdgu - #sharepoint - [SharePoint 2010] Debugging a Custom SharePoint Timer Job
- Help! FAST Search for SharePoint 2010 SQL Server Deadlocks http://t.co/3MDByzBP
Recent Posts
- [SharePoint 2010 / SQL Server 2008] Query the SharePoint Object Model from a .NET SQL Server CLR Function
- [SharePoint 2010] Debugging a Custom SharePoint Timer Job
- [SharePoint 2010] Set Access Request Email for All SharePoint Sites
- [ASP.NET / LINQ] Access GridView DataItem Properties of Anonymous Types
- [.NET / LINQ] Dynamic SQL-Like LINQ OrderBy Sorting Extension
