Template:Round

From Killing Floor Wiki
Jump to: navigation, search
[edit] [purge] Template-info.svg Template documentation

Returns a rounded value, given a mathematical expression and optionally a precision. A tooltip is displayed with the (un-rounded) value of the expression if and only if the expression is not equal to the rounded expression.

Usage[edit]

{{round|math expression}}
{{round|math expression|precision}}

Precision is the number of decimal places. Negative integers are valid and correspond to the number of places before the decimal point.