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.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
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