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


Top ↑

Return Return

(float) Formated course points.


Top ↑

Source Source

File: includes/ld-misc-functions.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.