Warning: This function has been deprecated. Function llms_format_decimal() is deprecated with no replacement instead.

llms_format_decimal( int $number, boolean $dp = false, boolean $trim_zeros = false )

Format Number as decimal


Description Description


Parameters Parameters

$number

(Required) Price value.

$dp

(Optional) Decimal points.

Default value: false

$trim_zeros

(Optional) Trim zeros.

Default value: false


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/functions/llms.functions.currency.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Function llms_format_decimal() is deprecated with no replacement.
3.24.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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