Jump to content

Module:Factorization/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Uncopy (talk | contribs) at 16:43, 10 April 2024 (More precise error message). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


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