I have looked at different forums and sites to find a solution but did not had much luck.

I need to change currency format from FR. 123,456.00(Switzerland) to SFR. 123,456.00(Switzerland) in SharePoint 2013 when you create a column in a list.

How can I change the format?


I suppose I can do a custom column as per suggestion (http://petersullivan.com.au/2009/04/26/defining-custom-columns-in-sharepoint-%E2%80%93-field-types-and-options/ )


You might be happier in the long term if you don't do any back-end development but only change how the value is displayed using Client Side Rendering

More complex CSR examples at https://code.msdn.microsoft.com/office/Client-side-rendering-JS-2ed3538a

your (partial) displayTemplate code could be as simple as:

function SFRcurrency(ctx, CurrentFieldSchema, CurrentItem, ListSchema){
    return( String.format("SFR {0}",CurrentItem[CurrentFieldSchema.Name]));

Or maybe the TEXT function in a Calculated Column could do the job


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.