NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Byte.ToDouble

Converts this instance of a Byte as a Double.

[Visual Basic]
Overridable Public Function ToDouble() As Double
[C#]
public virtual double ToDouble();
[C++]
public: virtual double ToDouble();
[JScript]
public function ToDouble() : double;

Return Value

A double as a byte.

Exceptions

Exception Type Condition
InvalidCastException is thrown if it doesn't return a byte.

Remarks

The ToDouble method returns the specified parameter as an 8-byte double precision floating-point number.

This method implements IConvertible, which replaced IValue. This method is used to obtain the type code for a specified object. (See Convert and Value for more information about conversions; see the Type for more information about types.)

See Also

Byte Structure | Byte Members | System Namespace