TechTalk Genome v4.2

NullableDouble.ToNullableDecimal Method 

Converts this NullableDouble instance to a NullableDecimal.

public NullableDecimal ToNullableDecimal();

Return Value

A NullableDecimal that is NullableDecimal.Null if this NullableDouble is Null otherwise a NullableDecimal whose NullableDecimal.Value equals the Value of this instance.

Exceptions

Exception TypeCondition
OverflowException This NullableDoubleValue is a number that is less than NullableDecimal.MinValue or greater than NullableDecimal.MaxValue

-or-

Value is Double.NaN, Double.PositiveInfinity, or Double.NegativeInfinity.

Requirements

Namespace: TechTalk.Genome.NullableTypes

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

NullableDouble Class | TechTalk.Genome.NullableTypes Namespace