2
Reply

multiply two float number

aaa kljlkj

aaa kljlkj

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