hp
toc

Numerals

2016-06-18, post № 129

programming, Python, #number words, #numbers, #numbers to words, #numeral, #words

This program takes a number and calculate it’s linguistic numeral.The number 𝟥 returns the numeral ‘three’, 𝟧𝟪 returns ‘fifty-eight’ and 𝟥𝟣𝟦𝟣𝟧.𝟫𝟤𝟨𝟧𝟥𝟧 returns ‘thirty-one thousand four hundred fifteen point nine two six five three five’.

numerals.png
Source code: numerals.py
Jonathan Frech's blog; built 2024/03/18 18:45:40 CET