I am using below code to convert string to decimal and it is working as expected. But when i write values to Excel it is not writing it as decimal values
convert.ToDecimal(inputString) and also tried String.Format(β{0:0.00}β,CDbl(inputString))
When i print the value i am getting the expected output but issues happens when it writes it to Excel.