• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

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

    [ANSWERED] number to text actor

    How To... ?
    7
    12
    2120
    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.
    • ?
      A Former User last edited by mark

      hello.

      is it possible to use text formatter to take the output integer from a counter actor,

      to send it to the text input (channel) from a matrix send actor?

      or is there a other simple way to translate integer numbers to there text form?

      the only way we found is to put the numbers as text in the inputs of a table actor.

      trigger the counter with pulsegenerator.

      thx. j.w

      1 Reply Last reply Reply Quote 0
      • mark
        mark last edited by

        This is exactly the kind of thing the Text Formatter can do.

        1) Add a Text Formatter
        2) Double click the actor
        3) Replace "data" with P1 and click OK
        4) Now number inputs to 'param 1' will be converted to text

        If you needed three numbers separated by commas to, for instance, send to an Arduino or something

        1) Add a Text Formatter
        2) Set the 'params' input to 3
        3) Double click the actor
        4) Enter the following text

        P1 "," P2 "," P3

        5) Click OK
        6) Now the three numeric inputs will be converted to a text string like "1,2,3"

        There are many options to control the formatting of the numbers. Click the "Help" button when the actor's dialog box is open to learn more.

        Best Wishes,
        Mark

        Media Artist & Creator of Isadora
        Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

        1 Reply Last reply Reply Quote 2
        • ?
          A Former User last edited by

          thank you very much, also for fixing the control panel update so fast.

          the westfernsehen team, leipzig.

          D 1 Reply Last reply Reply Quote 0
          • D
            deflost @Guest last edited by

            hello, how is it possible to say the formatter to give only two places after the decimal point to the output?

            thx.

            xmg schenker laptop,clevo board, rtx 3080ti, i9, 32gb.
            windows 11

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

              @deflost

              if you click on the help button in the Text formatter actor you will find this:

              Px:n.m Output the number, with a maximum of n digits to the left of the decimal point and m digits to the right. If the input parameter is                      text, ignore n.m and just output the text.


              Px:Zn.m Same as above, but add leading zeros to ensure a total of n digits appear to the left of the decimal point.

              Best regards, 

              Jean-François 

              • Izzy 3.2.6
              - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
              - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
              Mac OS 10.14.6 (Mojave)
              - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

              • A range of deployable older Macs
                Located in Bremen, Germany
              Armando 1 Reply Last reply Reply Quote 0
              • Armando
                Armando Beta Gold @jfg last edited by

                @jfg I know this is the right choice, but, thinking of students, people who aren't good in programming, wouldn'it be easier if we had (and we had it in the past) a "number to character" actor ? We would still use the text formatter for more complex operations like creating strings and prepend or append stuff, but I wonder if it wouldn't be easier and faster for this audience. Plus, more symmetrical, because we have a "character to number" actor. I would expect a "number to character" too. Much more intuitive for the beginners. It took a while for me too to understand the power of the text formatter...

                Armando Menicacci
                www.studiosit.ca
                MacBook Pro 16-inch, 2021 Apple M1 Max, RAM 64 GB, 4TB SSD, Mac OS Sonoma 14.4.1 (23E224)

                fubbi jfg Woland 3 Replies Last reply Reply Quote 1
                • fubbi
                  fubbi @Armando last edited by

                  I agree @armando, I often I instinctively look for that actor, thinking it has to be here somewhere because the other direction exists. Then I remember and grab a text formatter.

                  Mac M2 Ultra, 64gb — Berlin

                  Armando 1 Reply Last reply Reply Quote 1
                  • Armando
                    Armando Beta Gold @fubbi last edited by

                    @fubbi same here

                    Armando Menicacci
                    www.studiosit.ca
                    MacBook Pro 16-inch, 2021 Apple M1 Max, RAM 64 GB, 4TB SSD, Mac OS Sonoma 14.4.1 (23E224)

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

                      @armando said:

                      Plus, more symmetrical, because we have a "character to number" actor.

                       

                      Plus, more symmetrical, because we have a "character to number" actor.

                       The "character to number"  converts the first character of the input text to its decimal equivalent, e.g. "Character" > C=67 or 225 > 50 the value for 2.

                      To convert a value to a text you can also use this actor from Juriaan on the add-ons page:

                      LANGUAGE BASED – NUMBER TO TEXT FORMATTER

                      it give you also the possibility to set the numbers of decimals.

                      You can also use a macro or a user actor with only an input and an output for which you change the properties.

                      Best regards, 

                      Jean-François

                      • Izzy 3.2.6
                      - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
                      - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
                      Mac OS 10.14.6 (Mojave)
                      - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

                      • A range of deployable older Macs
                        Located in Bremen, Germany
                      Armando 1 Reply Last reply Reply Quote 3
                      • Armando
                        Armando Beta Gold @jfg last edited by

                        Brilliant and elegant solution, JF (as always). Sorry I didn't see the "Value to text actor too who does the job perfecty. Forget I said something 😴

                        Armando Menicacci
                        www.studiosit.ca
                        MacBook Pro 16-inch, 2021 Apple M1 Max, RAM 64 GB, 4TB SSD, Mac OS Sonoma 14.4.1 (23E224)

                        1 Reply Last reply Reply Quote 0
                        • Woland
                          Woland Tech Staff @Armando last edited by

                          @armando

                          I just have simple User Actors for this:

                          js-text-to-number.iua3

                          js-number-to-text.iua3

                          TroikaTronix Technical Support
                          New Support Ticket: https://support.troikatronix.com/support/tickets/new
                          Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                          Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
                          Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

                          | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

                          Armando 1 Reply Last reply Reply Quote 2
                          • Armando
                            Armando Beta Gold @Woland last edited by

                            @woland Creative as always. Thanks

                            Armando Menicacci
                            www.studiosit.ca
                            MacBook Pro 16-inch, 2021 Apple M1 Max, RAM 64 GB, 4TB SSD, Mac OS Sonoma 14.4.1 (23E224)

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