Input String was not in a correct format. Expected Type is decimal

I am getting an Error Like this

As you can see there is a decimal point in the number but still it is throwing an error as Expected type is decimal

Any Help is appreciated :slight_smile:

change the data into string format the you can add

Hi @Ishan_Shelke
just convert the value to string in the add datarow.
Regards
Sreejith.

Hi,

If you set your data as string at ArrayRow property in AddDataRow activity, can you try to convert it to Decimal type as the following?

Decimal.Parse("-1.36424205265939E-12",System.Globalization.NumberStyles.Any)

OR

Decimal.Parse(yourString,System.Globalization.NumberStyles.Any)

Regards,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.