Returns relatively formatted price according to formatting string of the specified site main currency.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- price
- Type: System Double
Price to be formatted
- siteId
- Type: System Int32
ID of the site which main currency has to be used for formatting
- encode (Optional)
- Type: System Boolean
Encode output
Return Value
Type: StringSee Also