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

    [ANSWERED] number to text actor

    How To... ?
    7
    12
    886
    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

      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 @A Former User
        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.

        jfgJ 1 Reply Last reply Reply Quote 0
        • jfgJ
          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, Mac OS 14.1 Sonoma:
          - MacBook Pro M1 Max 16" 64GB RAM
          • Izzy 3.2.6, 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

          ArmandoA 1 Reply Last reply Reply Quote 0
          • ArmandoA
            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
            www.armandomenicacci.net

            Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 14 Sonoma

            fubbiF jfgJ WolandW 3 Replies Last reply Reply Quote 1
            • fubbiF
              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

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

                @fubbi same here


                Armando Menicacci

                www.studiosit.ca
                www.armandomenicacci.net

                Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 14 Sonoma

                1 Reply Last reply Reply Quote 0
                • jfgJ
                  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, Mac OS 14.1 Sonoma:
                  - MacBook Pro M1 Max 16" 64GB RAM
                  • Izzy 3.2.6, 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

                  ArmandoA 1 Reply Last reply Reply Quote 3
                  • ArmandoA
                    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
                    www.armandomenicacci.net

                    Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 14 Sonoma

                    1 Reply Last reply Reply Quote 0
                    • WolandW
                      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 Link: https://support.troikatronix.com/support/tickets/new
                      TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                      TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

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

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

                        @woland Creative as always. Thanks


                        Armando Menicacci

                        www.studiosit.ca
                        www.armandomenicacci.net

                        Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 14 Sonoma

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