MoneyFormatter::format( mixed $value, array $options = array() )

Format a given value and return the result.


Description Description


Parameters Parameters

$value

(Required) Value to format.

$options

(Optional) Options that influence the formatting.

Default value: array()


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Formatters/MoneyFormatter.php




Top ↑

User Contributed Notes User Contributed Notes

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