Skip to main content

A calculator that uses words

Project description

Math-Words

Most people use words. Many people also use calculators. It seems logical, then, that calculators should also be able to use words. This project is aimed at working in that direction.

To launch in interactive mode (with a really crappy REPL), use python -m mathwords.

Sample queries:

  • twelve plus three -> fifteen
  • six raised to the power of three -> two hundred sixteen
  • eight minus a billion -> negative nine hundred ninety nine million nine hundred ninety nine thousand nine hundred ninety two
  • one hundred and forty four divided by two to the three -> eighteen
  • eight divided by five -> one point six
  • square root of the common log of ten quadrillion -> four

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mathwords-0.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

mathwords-0.0.1-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page