math¶
Functions
- intranet.apps.templatetags.math.divide(dividend, divisor)[source]¶
Returns the quotient of the arguments as a float.
- intranet.apps.templatetags.math.round_num(number, precision=0)[source]¶
Rounds a number to a given precision in decimal digits (default 0 digits) and returns the integer value.
Precision may be negative. A precision of 1 will round to the tenths place and a precision of -1 will round to the tens place.
Returns: Float