Python Forum
is there py code to covert nums to text?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
is there py code to covert nums to text?
#7
Cool class - works with exponents as well

>>> import inflect
>>> p = inflect.engine()
>>> p.number_to_words(725.16e10)
'seven trillion, two hundred and fifty-one billion, six hundred million point zero'
Larz60+
Reply


Messages In This Thread
RE: is there py code to covert nums to text? - by Larz60+ - Sep-30-2016, 04:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Covert Shapely Point() to (x, y) michael1789 0 2,602 Mar-26-2020, 12:33 AM
Last Post: michael1789
  How to write a code to open and read text file by clicking on the "text file" kavindu 4 6,174 Jul-06-2018, 06:55 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020