Template:Cents/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
Line 7: Line 7:
=== Example ===
=== Example ===
This input in the wiki source
This input in the wiki source
: <code>{{((}}cents{{pipe}}3{{pipe}}5{{))}}</code>
: <code>{{((}}cents{{pipe}}3/2{{pipe}}5{{))}}</code>


produces the following output
produces the following output
: {{cents|3|5}}
: {{cents|3/2|5}}
 
Intervals can even be typed as evaluable mathematical expressions. For example:
: <code>{{((}}cents{{pipe}}3^12/2^19{{pipe}}5{{))}}</code>
 
gives:
: {{cents|3/2*(64/63)^(2/7)|5}}


=== See also ===
=== See also ===
* [[Template:Cent]] &ndash; A template to insert the cent symbol
* [[Template:Cent]] &ndash; A template to insert the cent symbol