Problem with convert to Decimal

Hello :slight_smile: ,

I am trying to convert a cell from datatable from string to decimal. The value of the cell is 0,935 but when use the convert method ( Convert.ToDecimal( Dt.row(X).item(Y) ) it gives me the value 935 !!!
How can i fix this Please ?

Thank you in advance.

Convert.ToDecimal(Dt.row(X).item(Y), New System.Globalization.CultureInfo("fr-FR"))

3 Likes

It orked like magic :slight_smile: Thanks a lot :smiley:

1 Like

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