Template:Convert/scale

0

Convert/scale allows a custom scale formula to be used to convert a unit into another unit. The formula used is: output = round(a &times; (  + offset) + b, r)

That is, output is calculated by adding parameters   and offset, multiplying the result by parameter a, adding parameter b, then rounding according to parameter r.

Synonyms for parameter a are f</tt> or scale</tt>. A synonym for parameter b</tt> is add</tt>.

The output of the template is the following space-separated group of values:   </tt> (output   </tt>)

Non-breaking spaces are correctly used between values and units.

If parameter sep</tt> is present, it replaces the opening parenthesis and there is no closing parenthesis.

The parameters are:

Examples: