Gemstone Common Library
Show/Hide TOC

# MassLessThanOrEqual Operator

Returns true if left value is less or equal to than right value.

## Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
C#
View Source Request Example

    public static bool operator <=(
    	Mass value1,
    	Mass value2
    )

VB
View Source Request Example

    Public Shared Operator <= (
    	value1 As Mass,
    	value2 As Mass
    ) As Boolean

C++
View Source Request Example

    public:
    static bool operator <=(
    	Mass value1,
    	Mass value2
    )

JavaScript
View Source Request Example

    JavaScript does not support overloaded operators.

#### Parameters

value1 Mass
  A Mass object as the left hand operand.
value2 Mass
  A Mass object as the right hand operand.

#### Return Value

Boolean
A Boolean value as the result.

## See Also

#### Reference

Mass Structure
Gemstone.Units Namespace