TechTalk Genome v4.2

NullableString.ToNullableDecimal Method 

Converts this NullableString instance to a NullableDecimal.

public NullableDecimal ToNullableDecimal();

Return Value

A NullableDecimal that is NullableDecimal.Null if this NullableString is Null otherwise a NullableDecimal whose NullableDecimal.Value equals the number represented by this NullableString.

Exceptions

Exception TypeCondition
FormatException this NullableString instance is not of the correct format. See Decimal.Parse.
OverflowException this NullableString instance represents a number less than DateTime.MinValue or greater than DateTime.MaxValue.

Requirements

Namespace: TechTalk.Genome.NullableTypes

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

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

NullableString Class | TechTalk.Genome.NullableTypes Namespace