Debug_Bar_Pretty_Output::get_pretty_float PHP Метод

get_pretty_float() приватный статический Метод

Convert a float to pretty output.
private static get_pretty_float ( float $float, boolean $short = false ) : string
$float float The float to make pretty.
$short boolean Short or normal annotation.
Результат string
        private static function get_pretty_float($float, $short = false)
        {
            $output = '<span style="color: #990033;">';
            if (true !== $short) {
                $output .= '<b><i>float</i></b> : ';
            }
            $output .= $float . '</span><br />';
            return $output;
        }