ssv/ssv/static/js/source/ssv_utilities.es6
// Number formatting function for report output
Number formatting function for report output
Number formatting function for report output
function num_format(val) {
    if (val >= 1000 || val < 0.01) {
        return d3.format('.2e')(val)
    } else {
        return d3.format('.2f')(val)
    }
}
function num_format ( val ) { if ( val >= 1000 || val < 0.01 ) { return d3 . format ( '.2e' ) ( val ) } else { return d3 . format ( '.2f' ) ( val ) } }
Number formatting function for report output
Number formatting function for report output