Template:Factorization/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) No edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{dochead}} | {{dochead}}{{lua|Utils}} | ||
This template returns the [[prime factorization]] for a given integer. <code>{<nowiki />{factorisation}}</code> works as well. | |||
=== Usage === | === Usage === | ||
; You type | ; You type | ||
: <code>{{ | : <code>{<nowiki />{factorization|270}}</code> | ||
; You get | ; You get | ||
: {{{{ROOTPAGENAME}}|270}} | : {{{{ROOTPAGENAME}}|270}} | ||
Latest revision as of 03:19, 16 February 2025
![]() |
This template uses Lua: |
This template returns the prime factorization for a given integer. {{factorisation}}
works as well.
Usage
- You type
{{factorization|270}}
- You get
- 2 × 33 × 5