NullableTypes Class Library

NullableDecimal.Floor Method 

Rounds the specified NullableDecimal to the closest integer toward negative infinity.

[Visual Basic]
Public Shared Function Floor( _
   ByVal x As NullableDecimal _
) As NullableDecimal
public static NullableDecimal Floor(
   NullableDecimal x


A NullableDecimal structure.

Return Value

Null if x is Null otherwise if has a fractional part, the next whole number toward negative infinity that is less than x-or- if doesn't have a fractional part, is returned unchanged.

See Also

NullableDecimal Class | NullableTypes Namespace