src/numeric-directive.js
function formatPrecision(value) {
                if (!(value || value === 0)) {
                    return '';
                }
                var formattedValue = parseFloat(value).toFixed(decimals);
                formattedValue = formattedValue.replace('.', decimalSeparator);
                return numberWithCommas(formattedValue);
            }
function formatPrecision(value) {
                if (!(value || value === 0)) {
                    return '';
                }
                var formattedValue = parseFloat(value).toFixed(decimals);
                formattedValue = formattedValue.replace('.', decimalSeparator);
                return numberWithCommas(formattedValue);
            }
function formatPrecision ( value ) { if ( ! ( value || value === 0 ) ) { return '' ; } var formattedValue = parseFloat ( value ) . toFixed ( decimals ) ; formattedValue = formattedValue . replace ( '.' , decimalSeparator ) ; return numberWithCommas ( formattedValue ) ; }
Format a value with thousand group separator and correct decimal char.
Format a value with thousand group separator and correct decimal char .