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: 10.0.0
Syntaxprotected 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:
String
See Also