Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Need a custom formatter for excel cell value which may have different kinds of decimal value as string but we want numeric

$
0
0

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?

PriceSales% of Total Country SalesCOGS
-4446.00000.000057.93830.0000
0.000057.93830.0000
85238.00000.000057.93830.0000
6229.39000.000057.93830.0000
95937.00000.000057.93830.0000
0.00000.000057.93830.0000
4669.00000.000057.93830.0000
51822.00000.000057.93830.0000
350.00000.000057.93830.0000
0.000057.93830.0000
-4446.00000.000023.04130.0000
0.000023.04130.0000
85238.00000.000023.04130.0000
6229.39000.000023.04130.0000
95937.00000.000023.04130.0000
0.00000.000023.04130.0000
4669.00000.000023.04130.0000
51822.00000.000023.04130.0000
350.00000.000023.0413

0.0000


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>