edds_is_zero_decimal_currency( string $currency = '' )

Determines if the provided currency is a zero-decimal currency


Description Description


Parameters Parameters

$currency

(Optional) Three-letter ISO currency code or an empty string. If empty, the shop's currency is used.

Default value: ''


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/gateways/stripe/includes/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.8.8 $currency parameter added
1.8.4 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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