Gemstone Common Library
Show/Hide TOC

# EnergyLessThan Operator

Returns true if left value is less than right value.

## Definition

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

    public static bool operator <(
    	Energy value1,
    	Energy value2
    )

VB
View Source Request Example

    Public Shared Operator < (
    	value1 As Energy,
    	value2 As Energy
    ) As Boolean

C++
View Source Request Example

    public:
    static bool operator <(
    	Energy value1,
    	Energy value2
    )

JavaScript
View Source Request Example

    JavaScript does not support overloaded operators.

#### Parameters

value1 Energy
  An Energy object as the left hand operand.
value2 Energy
  An Energy object as the right hand operand.

#### Return Value

Boolean
A Boolean as the result of the operation.

## See Also

#### Reference

Energy Structure
Gemstone.Units Namespace