Excel cell data type

Hi Team
I have used a build data table of column type int and used one temple excel of column type number
i am storing my all the data in build data table column and pasting in another excel column
But I am getting error in some number in adding data becuase they contain 1,233 or 1.333
Please let me know how to resolve this

Hi @Kuldeep_Pandey

Please change the column type to string.

I want output as in number format , if i am doing this i m getting output in string format

Hi @Kuldeep_Pandey

when u r using the output please use the CInt so that it converts string to integer.

If I am CINT
Then 1.5 will convert to 1

Hi @Kuldeep_Pandey

Please use “Convert.todouble”

Hi @Kuldeep_Pandey

use Output variable = “Convert.todouble(CurrentRow(6))”
output variable data type must be in double.
regards.

Now I am getting Output as in string format

Hi @Kuldeep_Pandey

Hi @Kuldeep_Pandey

  1. Store the numbers as strings in the DataTable:
  • When adding the numbers to the DataTable, convert them to strings using the ToString() method.
  • For example: row("ColumnName") = number.ToString()
  1. Paste the DataTable into the Excel column:
  • Use the Write Range activity to write the DataTable to the destination Excel column.

Thanks!!