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.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
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