ShippingOptionInfoProviderGetFormattedWeightInternal Method |
Returns weight formatted according site specific weight format string. If no format string specified, uses x.xx format instead.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax protected virtual string GetFormattedWeightInternal(
double weight,
string siteName,
bool encode = true
)
Parameters
- weight
- Type: SystemDouble
Weight - siteName
- Type: SystemString
Name of the site for obtaining format string - encode (Optional)
- Type: SystemBoolean
Encode output
Return Value
Type:
StringSee Also