Saturday, August 2, 2014

how to write a code for withdrawal using C#


i tried it but it say i can't convert type string to int



You parse it. e.g.



string s = "1000.0";
double d = double.Parse (s);



Also, see double.TryParse();

No comments:

Post a Comment