Skip to content

axiacore/number-to-letters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Number to letters

A python library to convert numbers to their spanish text representation.

Quick start

Install it using pip:

pip install numbertoletters

Usage

Import the library in your project and use it:

from numbertoletters import number_to_letters

number_to_letters(11452915)
> 'once millones cuatrocientos cincuenta y dos mil novecientos quince'

Examples

  • 1245: Mil dosceintos cuarenta y cinco.
  • -30: Menos treinta
  • 0: Cero