tfwh-0.3.7.0

Safe HaskellSafe
LanguageHaskell2010

TFwH.NumbersIntoWords

Description

6桁以下の整数を英語読みに変換

Synopsis

Documentation

convert :: Int -> String Source #

数を英単語に変換する

>>> convert 308000
"three hundreds and eight thousand"
>>> convert 369027
"three hundreds and sixty-nine thousand and twenty-seven"
>>> convert 369401
"three hundreds and sixty-nine thousand four hundreds and one"