Click or drag to resize
ShippingOptionInfoProviderGetFormattedWeightInternal Method
Returns weight formatted according site specific weight format string. If no format string specified, uses x.xx format instead.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
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: String
See Also