Skip to main content
Cadet | Tier 2
June 7, 2022
Question

How to convert number to text v11

  • June 7, 2022
  • 5 replies
  • 138 views
Hi, my requirement is number to text conversation without DLL in v11. Example: 6382 six three eight two Could you please suggest better way to achieve this..? Thanks in advance

    5 replies

    Tamil Arasu10
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    June 7, 2022

    Hi @Naveen Kumar​ ,

     

    You can achieve this by following the below steps,

     

    • Split each digit and Store it in variable
    • Use If conditions, Ex if include 6, assign the value to Six, if include 3, assign the value to Three
    • Assign the above all variables to a single variable to get the results

     

    Thanks!

     

     

    _Tamil_
    Cadet | Tier 2
    June 7, 2022

    Hi @Naveen Kumar​,

     

    @Tamil Arasu​'s answer is the exact thing that comes to my mind.

     

    Best regards,

    zhenisp

    Cadet | Tier 2
    June 7, 2022
    Thanks for your inputs. All digits needs to store in single variable or each word have to create each variable..? Using the regular expression with string command suggest any other way to achieve this. Thanks
    Tamil Arasu10
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    June 7, 2022

    A single variable is enough to store the values.

     

    For example, get the length 1st, so the above case is 4

    Use the loop and increment the counter

    Use the counter value to extraction like substring, ..etc

     

     

    _Tamil_
    Tamil Arasu10
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    June 7, 2022

    CapturePlease remove the message boxes and more numbers in the loop.

     

    Note : Assign the counter variable to Substring

    _Tamil_