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
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
euros-0.0.4.tar.gz
(3.3 kB
view hashes)
Built Distribution
euros-0.0.4-py3-none-any.whl
(3.5 kB
view hashes)