Skip to content

5010efa5 658f 11b8 7ec9 7a60ff73ecbd

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

Quantity(TQuantity).LessThanOrEqual Operator

Checks if the specified LHS is less than or equal to the RHS.

Namespace: Sundew.Quantities.Engine.Quantities
Assembly: Sundew.Quantities (in Sundew.Quantities.dll) Version: 1.0.2.0 (1.0.2.0)

Syntax

C#

public static bool operator <=(
	Quantity<TQuantity> lhs,
	Quantity<TQuantity> rhs
)

C#

public static bool operator <=(
	Quantity<TQuantity> lhs,
	Quantity<TQuantity> rhs
)

VB

Public Shared Operator <= ( 
	lhs As Quantity(Of TQuantity),
	rhs As Quantity(Of TQuantity)
) As Boolean

VB

Public Shared Operator <= ( 
	lhs As Quantity(Of TQuantity),
	rhs As Quantity(Of TQuantity)
) As Boolean

C++

public:
static bool operator <=(
	Quantity<TQuantity>^ lhs, 
	Quantity<TQuantity>^ rhs
)

C++

public:
static bool operator <=(
	Quantity<TQuantity>^ lhs, 
	Quantity<TQuantity>^ rhs
)

F#

static let inline (<=)
        lhs : Quantity<'TQuantity> * 
        rhs : Quantity<'TQuantity>  : bool

F#

static let inline (<=)
        lhs : Quantity<'TQuantity> * 
        rhs : Quantity<'TQuantity>  : bool

Parameters

 

lhs
Type: Sundew.Quantities.Engine.Quantities.Quantity(TQuantity)
The LHS quantity.
rhs
Type: Sundew.Quantities.Engine.Quantities.Quantity(TQuantity)
The RHS quantity.

Return Value

Type: Boolean
A value indicating whether the lhs is less than or equal to the rhs.

See Also

Reference

Quantity(TQuantity) Class
Sundew.Quantities.Engine.Quantities Namespace

Clone this wiki locally