Template:Factorization: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#invoke:Utils|prime_factorization|{{{1|12}}}}}</includeonly><noinclude> This template returns the prime factorization for a given integer. == Usage == ; Y..."
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Utils|prime_factorization|{{{1|12}}}}}</includeonly><noinclude>
<includeonly>{{nowrap|{{#invoke: Utils|prime_factorization|{{#rreplace: {{{1|{{PAGENAME}}}}}|/(\d+)/|\1}}}}}}</includeonly><noinclude>
This template returns the [[prime factorization]] for a given integer.
{{documentation}}
 
== Usage ==
; You type
: <code><nowiki>{{factorization|270}}</nowiki></code>
 
; You get
: {{{{PAGENAME}}|270}}
 
== See also ==
* [[Module:Utils]] – the module that implements the functionality


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 18:48, 21 April 2025

Template documentation[view] [edit] [history] [purge]

This template returns the prime factorization for a given integer. {{factorisation}} works as well.

Usage

You type
{{factorization|270}}
You get
2 × 33 × 5