aaa kljlkj

aaa kljlkj

  • NA
  • 165
  • 0

multiply two float number

Jun 26 2014 10:04 AM
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);

Answers (2)