Single.GreaterThan(Single, Single) Operator

Definition

Retorna um valor que indica se um valor Single especificado é maior que outro valor Single especificado.Returns a value that indicates whether a specified Single value is greater than another specified Single value.

public:
 static bool operator >(float left, float right);
public static bool operator > (float left, float right);
static member ( > ) : single * single -> bool
Public Shared Operator > (left As Single, right As Single) As Boolean

Parameters

left
Single

O primeiro valor a ser comparado.The first value to compare.

right
Single

O segundo valor a ser comparado.The second value to compare.

Returns

Boolean

true caso left seja maior que right; do contrário, false.true if left is greater than right; otherwise, false.

Remarks

O método GreaterThan define a operação do operador maior que para valores de Single.The GreaterThan method defines the operation of the greater-than operator for Single values.

Applies to