public static function round($number = false, $decimals = false) {

        if($number) {

            return number_format((float)$number, $decimals);
        }

        return false;
    }
public static function round($number = false, $decimals = false) {

        if($number) {

            return number_format((float)$number, $decimals);
        }

        return false;
    }
public static function round ( $ number = false , $ decimals = false ) { if ( $ number ) { return number_format ( ( float ) $ number , $ decimals ) ; } return false ; }
Get a round number.
@example round(15, 2) - will return 15.00
@example round(15.123, 2) - will return 15.12
@param float number
@param int number of decimals
@return int || float
Get a round number .