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.ToSingle

Converts a Currency to a Single.

[Visual Basic]
Public Shared Function ToSingle( _
   ByVal c As Currency _
) As Single
[C#]
public static float ToSingle(
   Currency c
);
[C++]
public: static float ToSingle(
   Currency c
);
[JScript]
public static function ToSingle(
   c : Currency
) : float;

Parameters

c
A Currency value.

Return Value

The result of converting the Currency value to a Single.

Remarks

The ToSingle method converts a Currency value to a Single (float). Since a Single has fewer significant digits than a Currency, this operation may produce round-off errors.

See Also

Currency Structure | Currency Members | System Namespace