Hi Team,
Need a custom formatter for excel cell value which may have different kinds of decimal value as string but we want numeric.
So that user can change the numeric values. At preset the below cells are text but we want as numeric.
We are generate the excel sheet using the C# program. For example We have a datatable with below values as string and we are generating the excel cell by cell..All we want is how to put the string values as numeric as it is in the datatable?
Price | Sales | % of Total Country Sales | COGS |
-4446.0000 | 0.0000 | 57.9383 | 0.0000 |
0.0000 | 57.9383 | 0.0000 | |
85238.0000 | 0.0000 | 57.9383 | 0.0000 |
6229.3900 | 0.0000 | 57.9383 | 0.0000 |
95937.0000 | 0.0000 | 57.9383 | 0.0000 |
0.0000 | 0.0000 | 57.9383 | 0.0000 |
4669.0000 | 0.0000 | 57.9383 | 0.0000 |
51822.0000 | 0.0000 | 57.9383 | 0.0000 |
350.0000 | 0.0000 | 57.9383 | 0.0000 |
0.0000 | 57.9383 | 0.0000 | |
-4446.0000 | 0.0000 | 23.0413 | 0.0000 |
0.0000 | 23.0413 | 0.0000 | |
85238.0000 | 0.0000 | 23.0413 | 0.0000 |
6229.3900 | 0.0000 | 23.0413 | 0.0000 |
95937.0000 | 0.0000 | 23.0413 | 0.0000 |
0.0000 | 0.0000 | 23.0413 | 0.0000 |
4669.0000 | 0.0000 | 23.0413 | 0.0000 |
51822.0000 | 0.0000 | 23.0413 | 0.0000 |
350.0000 | 0.0000 | 23.0413 | 0.0000 |