Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects changing a string “number” to a number (scripting)

  • changing a string “number” to a number (scripting)

    Posted by Erin Shelby on October 5, 2005 at 11:17 pm

    Lets say I have a string “10” that I got from a text layer. But now I want to use that “10” as 10 to multiply it, subtract from, ect ect…?

    -echo

    Dan Ebberts replied 20 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    October 5, 2005 at 11:44 pm

    This should do it:

    myInteger = parseInt(myString);

    Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy