LLMS_Grades::round( float $grade )
Round grades according to filterable rounding options set during construction
Parameters Parameters
- $grade
-
(float) (Required) Grade to round
Return Return
(float)
Source Source
File: includes/class-llms-grades.php
public function round( $grade ) {
return round( $grade, $this->rounding_precision );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.24.0 | Introduced. |