Jump to content

Module:NumberSpell/doc

Frá Wikipedia, hin frælsa alfrøðin

Hetta er kunningarsíðan viðvíkjandi Module:NumberSpell

This module takes a number and returns the equivalent English word. For example, "2" becomes "two" and "79" becomes "seventy-nine". Numbers must be integers between 0 and 100.

{{#invoke:NumberSpell|main|number}}
  • {{#invoke:NumberSpell|main|8}} → átta
  • {{#invoke:NumberSpell|main|56}} → fimti-seks
  • {{#invoke:NumberSpell|main|101}}Error: input must be an integer between 0 and 100