NullableTypes Class Library

NullableDecimal.Divide Method 

Divides its first NullableDecimal operand by its second.

[Visual Basic]
Public Shared Function Divide( _
   ByVal x As NullableDecimal, _
   ByVal y As NullableDecimal _
) As NullableDecimal
[C#]
public static NullableDecimal Divide(
   NullableDecimal x,
   NullableDecimal y
);

Parameters

x
A NullableDecimal structure.
y
A NullableDecimal structure.

Return Value

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

Exceptions

Exception TypeCondition
DivideByZeroExceptiony is Zero while x is not Null.

See Also

NullableDecimal Class | NullableTypes Namespace