ruby - Convert floating-point number to words -


how word-equivalent of floating-point number? e.g.

  • 10.24 → ten point twenty-four
  • 5.113 → 5 point hundred , thirteen

there's gem called numbers_and_words that! i've used in several projects without problems far.


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -