Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / LocaleHelper Class / ConvertWeight Method
The source unit
The value to convert
The target unit to convert to
In This Topic
    ConvertWeight Method (LocaleHelper)
    In This Topic
    Converts a weight from source unit to target unit
    Syntax

    Parameters

    sourceUnit
    The source unit
    sourceValue
    The value to convert
    targetUnit
    The target unit to convert to

    Return Value

    A LSDecimal with the value converted into the target unit
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also