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.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
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