learndash_format_course_points

learndash_format_course_points( string $points,  int $decimals = 1 )

Formats course points.


Description #


Parameters #

$points

(string) (Required) Course points.

$decimals

(int) (Optional) The decimal values to round the course points.

Default value: 1


Return #

(float) Formated course points.


Source #

File: includes/ld-misc-functions.php