Template:math ratio


Usage

edit

This template formats two numbers as the numerator and denominator of a fraction, and converts the fraction into a percentage which is provided in parentheses after the fraction.

Example

edit

{{math ratio|3|4}}34 (75%)