src/numeric-directive.js
function round(value) {
                var d = Math.pow(10, decimals);
                return Math.round(value * d) / d;
            }
function round(value) {
                var d = Math.pow(10, decimals);
                return Math.round(value * d) / d;
            }
function round ( value ) { var d = Math . pow ( 10 , decimals ) ; return Math . round ( value * d ) / d ; }
Round the value to the closest decimal.
Round the value to the closest decimal .