Skip to main content

Converts float or integer input into litteral french (for €). Convertit un montant en chiffres en montant en lettres (exprimé en euros)

Project description

euros

Simple script python destiné à convertir des chiffres en lettres, pour désigner un montant en euros en français littéral respectant les règles orthographiques.

Installation :

pip install euros

Exemples d'utilisation :

>>> from euros.fr import conv

>>> conv(10) 
"dix euros"

>>> conv(120.99) 
"cent vint euros et quatre-vingt-dix-neuf centimes"

>>> conv(1000000.01) 
"un million d'euros et un centime"

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

euros-0.0.5.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

euros-0.0.5-py3-none-any.whl (4.2 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