learndash_format_course_points( string $points, int $decimals = 1 )
Formats course points.
Description Description
Parameters Parameters
- $points
-
(Required) Course points.
- $decimals
-
(Optional) The decimal values to round the course points.
Default value: 1
Return Return
(float) Formated course points.
Source Source
File: includes/ld-misc-functions.php