Double Value Type

Overview

The Double value type represents a double-precision 64-bit number.

For more information refer to the Double Structure topic in MSDN.

Definition

A Double value type is defined in the following manner:

[ws][sign][integral-digits[,]]integral-digits[.[fractional-digits]]|.[fractional-digits][e[sign]exponential-digits][ws]
Item Behaviour Description
ws Optional White space.
sign Optional Minus sign indicating a negative Double value.
integral-digits Required if fractional-digits is not present A series of digits ranging from 0 to 9 that specify the integral part of the number. Runs of integral-digits can be partitioned by a group-separator symbol.
, Optional A culture-specific thousands separator symbol.
. Optional A culture-specific decimal point symbol.
fractional-digits Optional A series of digits ranging from 0 to 9 that specify the fractional part of the number.
e Optional Indicates an exponential (scientific) notation.
exponential-digits Optional A series of digits ranging from 0 to 9 that specify an exponent.
Predefined values

The following is a list of predefined Double values:

Default value 0
Minimum value -1.79769313486232e308
Maximum value 1.79769313486232e308

Configuration

A Double attribute value configuration has the following format:

<exampleElement exampleAttribute="123.456" />

For more information refer to the Double.Parse Method topic in MSDN.

Is this article helpful for you?