4 Replies Latest reply: Jan 19, 2012 11:52 AM by Dan Ebberts RSS

    Parsing number text string to numeric value

    Navarro Parker Community Member

      If I have the number "5" as a text layer, how can I get another text layer to read that number, and then add another number to it?

       

      This gives me "56". I want "11".

       

      temp = thisComp.layer("5").text.sourceText.value;

      (temp + 6)