Rini

Rini

  • 1.5k
  • 204
  • 31.8k

convert string to float

Mar 31 2014 12:26 AM
how to convert string to float
 
my code is
       float dec2DivId; 
if (ddllist.SelectedIndex == 1)
{
if (TextBox1.Text != string.Empty)
{
dec2DivId = Convert.ToString(TextBox1.Text).ToString();


 

Answers (3)