I am retreiving following decimal values from another class in C# and need to convert these values into string.
//Displaying column values as Percentage
col1: Getting value as 0.0777 and should display in the UI as 7.77%
col2: Getting value as 0.08 and should display in the UI as 8.00%
col3: Getting value as 0.9 and should display in the UI as 90.00%
//Displaying column values as Currency
Col4: Getting value as 2000 should display in the UI as $2000
col5:Getting value as 8000 should display in the UI as $8000
Is it possible to do something like this:
The PercentageCustomFormat/ CurrencyCustomFormat should contan logic that if any column returns Null,it should display as "NA".