• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    Characterto number

    How To... ?
    2
    2
    738
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • EdJoynsonE
      EdJoynson
      last edited by

      Im currently trying to take text in through the "get url" actor, im trying to get some numbers which works fine. But I then want to use these as numbers not as text, but the character to text actor changes them to the assigned value not a number i.e 1 becomes 48, when I want it to just become 1, but as a number not text.

      Thanks

      Ed

      Ed
      Razer 15, i7 - 9750H, 16gb, 500gb m.2 SSD ,Windows 10.
      Surface Pro 5, i7-7660U, 16gb, 1tb SSD, Windows 10.

      1 Reply Last reply Reply Quote 0
      • DusXD
        DusX Tech Staff
        last edited by

        you can use the Javascript actor as a bridge.

        You only need to pass in the value and output it again. Use the outputs to mutate the output type to number by connecting to a Number input, and that should do it for you.

        The default JS code will work for a single value if you remove the '+ 1' part of the return statement.

        Troikatronix Technical Support

        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        • Isadora Add-ons: https://troikatronix.com/add-ons/
        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

        Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post