tfwh-0.3.7.0
TFwH.NumbersIntoWords
Description
6桁以下の整数を英語読みに変換
Synopsis
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"
>>>
convert 308000
convert 369027
convert 369401