how i can multiply two float number in c#
my code is this but it give error
error is this: Input string was not in a correct format.
float a,b;
a = float.Parse("10.00");
b = float.Parse("10.00");
label1.Text = Convert.ToString(a * b);

VulpesRank #55 · 29.2K reputationPosted Jun 26, 2014, 6:52 AM EDT
If that's the case you could still parse it with:
label1.Text = Convert.ToString(a * b);
aaa kljlkj137 reputationPosted Jun 26, 2014, 7:17 AM EDT