Package

ViewHelpers

ViewHelper Documentation

v:math.round

Math: Round

Rounds off $a which can be either an array-accessible value (Iterator+ArrayAccess || array) or a raw numeric value.

Arguments

a anySimpleType

First number for calculation

fail boolean

If TRUE, throws an Exception if argument "a" is not specified and no child content or inline argument is found. Usually okay to use a NULL value (as integer zero).

decimals integer

Number of decimals

ViewHelper Resources

Schema Resources