Unable to process division

Hi @dipon1112000 ]

Check out the below workflow:


Assuming your input is like below:

=>Use Read CSV to red the file and store the output in a datatable.
=> Use For Each row in DataTable to iterate through each row and give the below syntax in assign activity:

Number1= CDbl(CurrentRow("column3").ToString)
Number2= CDbl(CurrentRow("Column5").ToString)

Note: Number1 and Number2 are of DataType System.Double.
=> Use WriteLinew to print the values by giving below syntax:

(Number1/Number2).ToString

Output:


xaml:
Sequence9.xaml (9.8 KB)

Regards

2 Likes