Jump to content

Module:Factorization/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Warudo (talk | contribs) at 21:18, 29 August 2024 (Added the page to Category:Module documentation pages). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


This module displays the factorization of a given number. Numbers smaller than 2 or greater than 1,000,000,000 return "Error: <number> out of range". Fractional numbers are rounded down.

Parameters
  • The first unnamed parameter is the number
  • product - the symbol to be used to indicate times. Defaults to ·
  • bold - set to any value to make it bold
  • serif - set to any value to make it serif
  • big - set to any value to make it big
  • prime - set to any value to have prime numbers return an unformatted link to prime instead of the number