Template:Factorization: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{nowrap|{{#invoke: Utils|prime_factorization|{{#regex: {{{1|{{PAGENAME}}}}}|(\d+)}}}}}}</includeonly><noinclude> | ||
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. | ||
Revision as of 14:22, 16 January 2025
This template returns the prime factorization for a given integer. {{factorisation}} works as well.
- 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
- Lua error in Module:Utils at line 209: attempt to compare nil with number.