Template:Fraction

From Vigyanwiki
Revision as of 13:23, 24 January 2007 by Template>Jimp

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)