public function expandNumber($number)
    {
        switch (strtoupper(substr($number, -1))) {
            case 'B':
                $multiplier = 1000000000;
                break;
            case 'M':
                $multiplier = 1000000;
                break;
            case 'K':
                $multiplier = 1000;
                break;
            default:
                $multiplier = 1;
        }

        return (int) intval($number) * $multiplier;
    }
public function expandNumber($number)
    {
        switch (strtoupper(substr($number, -1))) {
            case 'B':
                $multiplier = 1000000000;
                break;
            case 'M':
                $multiplier = 1000000;
                break;
            case 'K':
                $multiplier = 1000;
                break;
            default:
                $multiplier = 1;
        }

        return (int) intval($number) * $multiplier;
    }
public function expandNumber ( $ number ) { switch ( strtoupper ( substr ( $ number , - 1 ) ) ) { case 'B' : $ multiplier = 1000000000 ; break ; case 'M' : $ multiplier = 1000000 ; break ; case 'K' : $ multiplier = 1000 ; break ; default : $ multiplier = 1 ; } return ( int ) intval ( $ number ) * $ multiplier ; }
Expands a short-hand number to its full value

@param  string $number
@return float
Expands a short - hand number to its full value