CurrencyInfoProvider.GetRelativelyFormattedPriceInternal Method (Decimal, Int32, Boolean) |
Returns relatively formatted price according to formatting string of the specified site main currency.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax protected virtual string GetRelativelyFormattedPriceInternal(
decimal price,
int siteId,
bool encode
)
Parameters
- price
- Type: System.Decimal
Price to be formatted - siteId
- Type: System.Int32
Id of the site which main currency has to be used for formatting - encode
- Type: System.Boolean
Encode output
Return Value
Type:
StringSee Also