convert numbers in alphabet form to integer

Certified Senior Developer

HI All,

Example -- I am forty-five years old.

from above text i need to get 45 in integer form. How to achieve this?

Thanks,

Ganesh. 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    Hi  ,

    We also explored various concepts to achieve the expected output. However, with our solution, the number of lines of code increases, as we need to check each condition to handle places such as ones, tens, hundreds, and so on. To address this, we integrated the Azure OpenAI Connected System to obtain the desired results. However, it is important to note that this system has a limitation on the number of tokens available.let me know if you find any solution other than this Thank you.

Reply
  • 0
    Certified Associate Developer

    Hi  ,

    We also explored various concepts to achieve the expected output. However, with our solution, the number of lines of code increases, as we need to check each condition to handle places such as ones, tens, hundreds, and so on. To address this, we integrated the Azure OpenAI Connected System to obtain the desired results. However, it is important to note that this system has a limitation on the number of tokens available.let me know if you find any solution other than this Thank you.

Children
No Data