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.ToString (Currency)

Converts a specified Currency to a String

[Visual Basic]
Overloads Public Shared Function ToString( _
   ByVal c As Currency _
) As String
[C#]
public static string ToString(
   Currency c
);
[C++]
public: static String* ToString(
   Currency c
);
[JScript]
public static function ToString(
   c : Currency
) : String;

Parameters

c
A Currency value.

Return Value

Returns the result of converting the Currency value to a string.

Remarks

The ToString converts this instance of a Currency to a String. The string returned cannot have any leading or trailing white space, and no leading zeros. It must be one of the following forms:

Where Sign can be "-", the digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9, and Exponent is of the form:

Where ExponentIndicator is "e", Sign can be "-".

See Also

Currency Structure | Currency Members | System Namespace | Currency.ToString Overload List