Skip to main content
Question

How to convert number to text v11


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
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3276 replies
  • 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!

 

 


  • Cadet | Tier 2
  • 8 replies
  • June 7, 2022

Hi @Naveen Kumar​,

 

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

 

Best regards,

zhenisp


  • Author
  • Cadet | Tier 2
  • 7 replies
  • 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
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3276 replies
  • 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 Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3276 replies
  • June 7, 2022

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

 

Note : Assign the counter variable to Substring


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings