Angular filter

sraRound source

The sraRound filter simply calls Math.round after shifting the value for the number of decimal places and then shifting it back.
Dependencies:
NameTypeDescription
value Object The value piped into the filter
decimalPlaces int The number of decimal places to round to. Defaults to zero.