# SqlDouble Struct

## Definition

Represents a floating-point number within the range of -1.79E +308 through 1.79E +308 to be stored in or retrieved from a database.

`public value class SqlDouble : IComparable, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable`

```
[System.Serializable]
public struct SqlDouble : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
```

```
type SqlDouble = struct
interface INullable
interface IXmlSerializable
```

```
Public Structure SqlDouble
Implements IComparable, INullable, IXmlSerializable
```

- Inheritance

- Attributes

- Implements

## Constructors

SqlDouble(Double) |
Initializes a new instance of the SqlDouble structure using the supplied double parameter to set the new SqlDouble structure's Value property. |

## Fields

MaxValue |
A constant representing the maximum value for a SqlDouble structure. |

MinValue |
A constant representing the minimum possible value of SqlDouble. |

Null |
Represents a DBNull that can be assigned to this instance of the SqlDouble structure. |

Zero |
Represents a zero value that can be assigned to the Value property of an instance of the SqlDouble structure. |

## Properties

IsNull |
Returns a Boolean value that indicates whether this SqlDouble instance is null. |

Value |
Gets the value of the SqlDouble structure. This property is read-only. |

## Methods

Add(SqlDouble, SqlDouble) |
The addition operator computes the sum of the two SqlDouble operands. |

CompareTo(Object) |
Compares this SqlDouble instance to the supplied Object and returns an indication of their relative values. |

CompareTo(SqlDouble) |
Compares this SqlDouble instance to the supplied SqlDouble and returns an indication of their relative values. |

Divide(SqlDouble, SqlDouble) |
The division operator divides the first SqlDouble operand by the second. |

Equals(Object) |
Compares the supplied object parameter to the Value property of the SqlDouble object. |

Equals(SqlDouble, SqlDouble) |
Performs a logical comparison on two instances of SqlDouble to determine whether they are equal. |

GetHashCode() |
Returns the hash code for this SqlDouble structure. |

GetXsdType(XmlSchemaSet) |
Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |

GreaterThan(SqlDouble, SqlDouble) |
Compares two instances of SqlDouble to determine whether the first is greater than the second. |

GreaterThanOrEqual(SqlDouble, SqlDouble) |
Compares two instances of SqlDouble to determine whether the first is greater than or equal to the second. |

LessThan(SqlDouble, SqlDouble) |
Compares two instances of SqlDouble to determine whether the first is less than the second. |

LessThanOrEqual(SqlDouble, SqlDouble) |
Compares two instances of SqlDouble to determine whether the first is less than or equal to the second. |

Multiply(SqlDouble, SqlDouble) |
The multiplication operator computes the product of the two SqlDouble operands. |

NotEquals(SqlDouble, SqlDouble) |
Compares two instances of SqlDouble to determine whether they are notequal. |

Parse(String) |
Converts the String representation of a number to its double-precision floating point number equivalent. |

Subtract(SqlDouble, SqlDouble) |
The subtraction operator the second SqlDouble operand from the first. |

ToSqlBoolean() |
Converts this SqlDouble structure to SqlBoolean. |

ToSqlByte() | |

ToSqlDecimal() |
Converts this SqlDouble structure to SqlDecimal. |

ToSqlInt16() | |

ToSqlInt32() | |

ToSqlInt64() | |

ToSqlMoney() | |

ToSqlSingle() | |

ToSqlString() | |

ToString() |
Converts this SqlDouble structure to a string. |

## Operators

Addition(SqlDouble, SqlDouble) |
The addition operator computes the sum of the two SqlDouble operands. |

Division(SqlDouble, SqlDouble) |
The division operator divides the first SqlDouble operand by the second. |

Equality(SqlDouble, SqlDouble) |
Performs a logical comparison on two instances of SqlDouble to determine whether they are equal. |

Explicit(SqlBoolean to SqlDouble) |
Converts the supplied SqlBoolean parameter to SqlDouble. |

Explicit(SqlDouble to Double) |
Converts the supplied SqlDouble structure to double. |

Explicit(SqlString to SqlDouble) | |

GreaterThan(SqlDouble, SqlDouble) |
Compares two instances of SqlDouble to determine whether the first is greater than the second. |

GreaterThanOrEqual(SqlDouble, SqlDouble) |
Compares two instances of SqlDouble to determine whether the first is greater than or equal to the second. |

Implicit(Double to SqlDouble) |
Converts the supplied double value to a SqlDouble. |

Implicit(SqlByte to SqlDouble) | |

Implicit(SqlDecimal to SqlDouble) |
Converts the supplied SqlDecimal parameter to SqlDouble. |

Implicit(SqlInt16 to SqlDouble) | |

Implicit(SqlInt32 to SqlDouble) | |

Implicit(SqlInt64 to SqlDouble) | |

Implicit(SqlMoney to SqlDouble) | |

Implicit(SqlSingle to SqlDouble) | |

Inequality(SqlDouble, SqlDouble) |
Compares two instances of SqlDouble to determine whether they are not equal. |

LessThan(SqlDouble, SqlDouble) |
Compares two instances of SqlDouble to determine whether the first is less than the second. |

LessThanOrEqual(SqlDouble, SqlDouble) |
Compares two instances of SqlDouble to determine whether the first is less than or equal to the second. |

Multiply(SqlDouble, SqlDouble) |
The multiplication operator computes the product of the two SqlDouble operands. |

Subtraction(SqlDouble, SqlDouble) |
The subtraction operator the second SqlDouble operand from the first. |

UnaryNegation(SqlDouble) |
Returns the negated value of the specified SqlDouble structure. |

## Explicit Interface Implementations

IXmlSerializable.GetSchema() |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |

IXmlSerializable.ReadXml(XmlReader) |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |

IXmlSerializable.WriteXml(XmlWriter) |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |