• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Number to text?

    Troubleshooting and Bug Reports
    4
    7
    202
    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.
    • jtoenjes
      jtoenjes last edited by DusX

      Whatever happened to the Number to Text actor? It's not in my Isadora 3.0 install.

      bonemap jfg 2 Replies Last reply Reply Quote 0
      • bonemap
        bonemap @jtoenjes last edited by

        @jtoenjes

        hi,

        I believe the idea is to use the Javascript actor for that. the only thing you need to do is open it and delete the '+1' from the 'return' line so it looks like this:

        function main()
        {
        return arguments[0];
        }


        best wishes

        Russell

        http://bonemap.com | Australia
        Izzy 3 STD/USB 3.2.5 | MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | Mac Studio 2022 M1 Max 32GB | OSX 12.5.1 Monterey

        jtoenjes 1 Reply Last reply Reply Quote 0
        • jfg
          jfg @jtoenjes last edited by jfg

          @jtoenjes

          but you can find a "Value to Text" actor

          best

          Jean-François 

          • Izzy 3.2.6, Mac OS 12.6 Monterey:
          - MacBook Pro M1 Max 16" 64GB RAM
          • Izzy 3.2.2, Mac OS 10.14.6 (Mojave):
          - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
          - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

          Located in Bremen, Germany

          jtoenjes 1 Reply Last reply Reply Quote 1
          • jtoenjes
            jtoenjes @bonemap last edited by

            @bonemap thanks, I wonder why this outputs a string rather than an integer?

            DusX 1 Reply Last reply Reply Quote 0
            • jtoenjes
              jtoenjes @jfg last edited by

              @jfg Thanks!

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

                @jtoenjes said:

                I wonder why this outputs a string rather than an integer?

                 It can do both (well actually Float or Text) since the output of the Javascript actor is Mutable, it will convert the type to the type fo the connected actor.
                This is hugely useful for Text to Number, and Number to Text operations.

                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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

                jtoenjes 1 Reply Last reply Reply Quote 1
                • jtoenjes
                  jtoenjes @DusX last edited by

                  @dusx I didn't know that...thanks.

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