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 1: Line 1:
<includeonly><hr><small>Documentation transcluded from [[/doc]]</small></includeonly>
{{dochead}}
== Usage ==
=== Usage ===
Use this template like this
Use this template like this


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


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


produces the following output
produces the following output
1901.95500
: 1901.95500


== See also ==
=== See also ===
* [[Template:Cent]] — a template to insert the cent symbol
* [[Template:Cent]] — a template to insert the cent symbol
<noinclude>[[Category:Template documentation]]</noinclude>

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