I’m storing values that I need to validate in a variable as a string, in one of the values that I need to validate, I’m using the formula below to convert it to an integer:
StrValue = (Convert.ToDouble (StrColValor3) + Convert.ToDouble (StrColValor)).
For the sequence a value appeared in the 9,999.99 format and an error occurred that “The entry was not in the correct format” the other values that always appear are in this format 23,23 for example.
Is there another formula that I can convert string to integer and this error does not occur?
2 posts - 2 participants