lib/Ext/core/lang/Number.js
function(value, precision) {
        if (isToFixedBroken) {
            precision = precision || 0;
            var pow = Math.pow(10, precision);
            return (Math.round(value * pow) / pow).toFixed(precision);
        }

        return value.toFixed(precision);
    }
function(value, precision) {
        if (isToFixedBroken) {
            precision = precision || 0;
            var pow = Math.pow(10, precision);
            return (Math.round(value * pow) / pow).toFixed(precision);
        }

        return value.toFixed(precision);
    }
function ( value , precision ) { if ( isToFixedBroken ) { precision = precision || 0 ; var pow = Math . pow ( 10 , precision ) ; return ( Math . round ( value * pow ) / pow ) . toFixed ( precision ) ; } return value . toFixed ( precision ) ; }
Formats a number using fixed-point notation
@param {Number} value The number to format
@param {Number} precision The number of digits to show after the decimal point
Formats a number using fixed - point notation