7 Replies Latest reply on Jul 1, 2008 1:00 PM by |>AoA<|_killa

    Checking if string is a number

    |>AoA<|_killa
      I need to check if a string entered in a textinput control is not a number and then do something. I've tried

      if ((object.text is Number) == false) {
      error = true;
      }

      But that doesnt work, i've tried google but I haven't come across something helpful.