Template:Cents/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 3: Line 3:
Use this template like this
Use this template like this


<nowiki>{{subst:cents|ratio|precision}}</nowiki>
: <code><nowiki>{{subst:cents|ratio|precision}}</nowiki></code>


=== Example ===
=== Example ===
This input in the wiki source
This input in the wiki source
: <nowiki>{{subst:cents|3|5}}</nowiki>
: <code><nowiki>{{subst:cents|3|5}}</nowiki></code>


produces the following output
produces the following output

Revision as of 13:17, 20 May 2024

Usage

Use this template like this

{{subst:cents|ratio|precision}}

Example

This input in the wiki source

{{subst:cents|3|5}}

produces the following output

1901.95500

See also