public function determine_format() {
        $decimals = $this->item->get_decimals();

        $min = format_float($this->item->grademin, $decimals);
        $max = format_float($this->item->grademax, $decimals);

        return new empty_element("$min - $max");
    }
public function determine_format() {
        $decimals = $this->item->get_decimals();

        $min = format_float($this->item->grademin, $decimals);
        $max = format_float($this->item->grademax, $decimals);

        return new empty_element("$min - $max");
    }
public function determine_format ( ) { $ decimals = $ this -> item -> get_decimals ( ) ; $ min = format_float ( $ this -> item -> grademin , $ decimals ) ; $ max = format_float ( $ this -> item -> grademax , $ decimals ) ; return new empty_element ( "$min - $max" ) ; }
Build this UI element.

@return element
Build this UI element .