NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Decimal Greater Than Operator

Determines whether one Decimal value is greater than a specified Decimal.

[C#]
public static bool operator >(
   Decimal d1,
   Decimal d2
);
[C++]
public: static bool operator op_GreaterThan(
   Decimal d1,
   Decimal d2
);
[JScript]
returnValue = d1 > d2;

[Visual Basic] In Visual Basic, you cannot use the operators defined by a type, nor override them or define your own.

[JScript] In JScript, you can use the operators defined by a type, but you cannot override them or define your own.

Arguments [JScript]

d1
The first Decimal.
d2
The second Decimal.

Parameters [C#, C++]

d1
The first Decimal.
d2
The second Decimal.

Return Value [C#, C++, JScript]

true if the first Decimal is greater than the second Decimal, otherwise false.

Remarks [C#, C++, JScript]

The op_GreaterThan method determines whether the first DateTime value is greater than the second DateTime value (d1 > d2) and returns a Boolean value that represents their relationship.

See Also

Decimal Structure | Decimal Members | System Namespace