Module:Spellnum per MOS: Revision history


For any version listed below, click on its date to view it. For more help, see Help:Page history and Help:Edit summary. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit, ← = automatic edit summary

26 October 2024

  • curprev 18:1518:15, 26 October 2024Muskit Gergous talk contribs 1,723 bytes +1,723 Created page with "local p = {} local words = {"thousand", "million", "billion", "trillion"} -- We don't need to go higher than this, no-one knows what an octillion is. -- For use by other scripts. Takes arguments: -- - 1: string or number, value to convert -- - forcenum: string for Template:Yesno, forces a result in digits for all n ≥ 10. -- - formating options for spellnum: zero, adj, ord, us function p.spellnum(args) local frame = mw.getCurrentFrame() local numeral = tonumber(args[..."