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);
VulpesPosted Jun 26, 2014, 10:52 AM
If that's the case you could still parse it with:
label1.Text = Convert.ToString(a * b);
aaa kljlkjPosted Jun 26, 2014, 11:17 AM