CurrencyInfoProviderGetFormattedPriceInternal Method (Decimal, CurrencyInfo, Boolean) |
Returns formatted price according to formatting string of the specified currency.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax protected virtual string GetFormattedPriceInternal(
decimal price,
CurrencyInfo currencyObj,
bool encode
)
Parameters
- price
- Type: SystemDecimal
Price to be formatted - currencyObj
- Type: CMS.EcommerceCurrencyInfo
Currency which supplies formatting string - encode
- Type: SystemBoolean
Encode output
Return Value
Type:
StringSee Also