6 Replies Latest reply on Sep 12, 2017 1:09 PM by joshroseca

    Parsing number text string to numeric value

    Navarro Parker Level 3

      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)