lib/_patch/jasmine-jsreporter.js
function round (amount, numOfDecDigits) {
        numOfDecDigits = numOfDecDigits || 2;
        return Math.round(amount * Math.pow(10, numOfDecDigits)) / Math.pow(10, numOfDecDigits);
    }
function round (amount, numOfDecDigits) {
        numOfDecDigits = numOfDecDigits || 2;
        return Math.round(amount * Math.pow(10, numOfDecDigits)) / Math.pow(10, numOfDecDigits);
    }
function round ( amount , numOfDecDigits ) { numOfDecDigits = numOfDecDigits || 2 ; return Math . round ( amount * Math . pow ( 10 , numOfDecDigits ) ) / Math . pow ( 10 , numOfDecDigits ) ; }
Round an amount to the given number of Digits.
If no number of digits is given, than '2' is assumed.
@param amount Amount to round
@param numOfDecDigits Number of Digits to round to. Default value is '2'.
@return Rounded amount
Round an amount to the given number of Digits . If no number of digits is given than 2 is assumed .