C
ComputerGuy
This is a newbie question. Let me know if I'm in the wrong place.
I working with an external application that returns two strings that I
need to divide.
val1 = "$100,000"
val2 = "$45"
I know I can't divide the numbers because they are both strings. So I
removed the "$" and the ",". Then I explicitly converted them,
System.Convert.ToInt32(val).
However this causes an error. Is there something that I am missing?
Thanks for the help.
I working with an external application that returns two strings that I
need to divide.
val1 = "$100,000"
val2 = "$45"
I know I can't divide the numbers because they are both strings. So I
removed the "$" and the ",". Then I explicitly converted them,
System.Convert.ToInt32(val).
However this causes an error. Is there something that I am missing?
Thanks for the help.