Convert a single money related term in a sentence in any format to float.
Project description
This library will convert any money related term in a string to numbers
from money2number import m2n
m2n.m2n.process_money_tags('here is 120 million dollars '))
will return >>> 120000000.0
Limitations
- Only one money related term in a string can be identified.
- Examples of inputs:
2.7 million 12 Billion five hundred and seventy four million
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
money2number-0.6.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for money2number-0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d69925639a1f1a8103883907970fa1b8d60e11177e4e4a98abec0581004bd60b |
|
MD5 | 5dc546e6bc722dda241e1a63be4c8f42 |
|
BLAKE2b-256 | e7ccf5c1a9ae05202083b6a87c9dbad964b3526aa33e4dde9775bcdba4345b16 |