Template:Fraction

From Vigyanwiki
Revision as of 12:50, 4 July 2006 by Template>Radiojon (try increasing numerator size instead)

This template builds nicer-looking common fractions. It takes one, two or three parameters: the optional integer (maybe signed), the optional numerator and the required denominator; in this order.

{{frac|a|b|c}}
a+bc (integer, numerator and denominator)
{{frac|a|b}}
ab (numerator and denominator)
{{frac|a}}
1a (denominator only)