NullableTypes Class Library

NullableDouble Division Operator 

Divides its first NullableDouble operand by its second.

[Visual Basic]
returnValue = NullableDouble.op_Division(x, y)
[C#]
public static NullableDouble operator /(
   NullableDouble x,
   NullableDouble y
);

Parameters

x
A NullableDouble structure.
y
A NullableDouble structure.

Return Value

Null if either instance of NullableDouble is Null otherwise a NullableDouble structure whose Value property contains the results of the division.

Remarks

If the result of the operation is too small for a NullableDouble, it becomes positive zero or negative zero.

If the result of the operation is too large for a NullableDouble, it becomes PositiveInfinity or NegativeInfinity.

If the operation is invalid, the result of the operation becomes NaN.

If one or both operands of the operation is NaN, the result of the operation becomes NaN.

Exceptions

Exception TypeCondition
DivideByZeroExceptiony is Zero while x is not Null.

See Also

NullableDouble Class | NullableTypes Namespace