Home
Python API

primitives.transformations.numbers.words

Public API documentation generated from source.
def number_to_words(number: float, *, capitalize: bool = False, conjunction: str = " and ") -> str:
def words_to_number(text: str) -> float:
def ordinal_to_words(number: int, *, capitalize: bool = False) -> str:
def words_to_ordinal(text: str) -> int:
def fraction_to_words(fraction: str, *, capitalize: bool = False) -> str:
def words_to_fraction(text: str) -> str:

Source

View source