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!

Currency.ToDouble

Converts a Currency to a Double.

[Visual Basic]
Public Shared Function ToDouble( _
   ByVal c As Currency _
) As Double
[C#]
public static double ToDouble(
   Currency c
);
[C++]
public: static double ToDouble(
   Currency c
);
[JScript]
public static function ToDouble(
   c : Currency
) : double;

Parameters

c
A Currency value.

Return Value

The result of converting the the Currency value to a Double.

Remarks

The ToDouble method converts a Currency value to a Double value. Since a Double has fewer significant digits than a Currency, this operation may produce round-off errors.

See Also

Currency Structure | Currency Members | System Namespace