How to Format Number in LightSwitch Visual Studio 2012
In my previous article (http://www.c-sharpcorner.com/UploadFile/18ddf7/formatting-date-in-lightswitch-visual-studio-2012/) I explained how to format a date using LightSwitch in Visual Studio 2012.
By using the Format Pattern property, we specify how numeric types appear that can be easily created in Visual Studio LightSwitch. For example, we want to display a Decimal value as a percentage (0.30 as 30%).
Procedure for showing how to format a number using LightSwitch Visual Studio 2012
Step 1
Open the Solution Explorer.
Image 1

Step 2
In the Solution Explorer, double-click or right-click on the table to open it.
Image 2

Step 3
The table opens in Data Designer.
Image 3

Step 4
In the Data Designer choose the field that you want to format.
Image 4

Step 5







Comments
Join the conversation! Your thoughts help the community grow.