convertToBMK(num) {
        let num_str = num + "";
        if (num_str.length > 9) {
            return (((num / 1000) /1000) / 1000).toFixed(1) + " Billion"
        }
        if (num_str.length > 6) {
            return ((num / 1000) /1000).toFixed(1) + " Million"
        }
        if ((num_str.length > 3)){
            return ((num / 1000) /1000).toFixed(1) + " Thousand"
        } else if(num === 0){
            return 'UNKNOWN';
        } else {
            return num;
        }
    }
// A little helper for converting numbers to billion
A little helper for converting numbers to billion
A little helper for converting numbers to billion
convertToBMK(num) {
        let num_str = num + "";
        if (num_str.length > 9) {
            return (((num / 1000) /1000) / 1000).toFixed(1) + " Billion"
        }
        if (num_str.length > 6) {
            return ((num / 1000) /1000).toFixed(1) + " Million"
        }
        if ((num_str.length > 3)){
            return ((num / 1000) /1000).toFixed(1) + " Thousand"
        } else if(num === 0){
            return 'UNKNOWN';
        } else {
            return num;
        }
    }
convertToBMK ( num ) { let num_str = num + "" ; if ( num_str . length > 9 ) { return ( ( ( num / 1000 ) / 1000 ) / 1000 ) . toFixed ( 1 ) + " Billion" } if ( num_str . length > 6 ) { return ( ( num / 1000 ) / 1000 ) . toFixed ( 1 ) + " Million" } if ( ( num_str . length > 3 ) ) { return ( ( num / 1000 ) / 1000 ) . toFixed ( 1 ) + " Thousand" } else if ( num === 0 ) { return 'UNKNOWN' ; } else { return num ; } }
A little helper for converting numbers to billion
A little helper for converting numbers to billion