Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 535 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 535 Bytes

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