4 Replies Latest reply on Oct 26, 2006 12:47 PM by kglad

    Input text field treated as a number field?

    VaporAction Level 1
      I have an input text field, that the user types a number in followed by a unit (ie. 7.87 g/mL)...I was having Flash check it as a string, but the problem is that I need to build a 0.2 error tolerance into it (ie. 7.67-8.07 g/mL would be correct answers) ...is there a way for Flash to treat the string as a number so that I don't have to add each case individually?