converting STRING to FLOAT - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

converting STRING to FLOAT

ITAITA Posts: 463Member
How do I convert a string value in a combo box (web form) into a float value?

Please help. Many thanks.

ITA

Comments

  • pingpongpingpong Posts: 937Member
    try { float f = float.Parse(theComboBox.Text); }
    catch(Exception ex) { // handle error }

    : How do I convert a string value in a combo box (web form) into a float value?
    :
    : Please help. Many thanks.
    :
    : ITA
    :

Sign In or Register to comment.