Template:Factorization/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{dochead|mod= | {{dochead|mod=Utils}} | ||
This template returns the [[prime factorization]] for a given integer. <code>{<nowiki />{factorisation}}</code> works as well. | This template returns the [[prime factorization]] for a given integer. <code>{<nowiki />{factorisation}}</code> works as well. | ||
Latest revision as of 06:30, 31 October 2025
- This template is implemented by the Lua module Module:Utils.
- This template invokes the following functions: prime_factorization from Utils.
This template returns the prime factorization for a given integer. {{factorisation}} works as well.
Usage
- You type
{{factorization|270}}
- You get
- 2 × 33 × 5