Converts a numeric value to a string using the specified format string.
[Visual Basic] Overloads Public Shared Function Format( _ ByVal value As Currency, _ ByVal format As String _ ) As String [C#] public static string Format( Currency value, string format ); [C++] public: static String* Format( Currency value, String* format ); [JScript] public static function Format( value : Currency, format : String ) : String;
The value is a String representation in a specified format.
The Format method provides the functionality to convert a Currency numeric value to a string.
If the format is null or an empty string, the Currency value is formatted as if the string general format ("G") were specified. The numeric format information is obtained from the current culture (see CultureInfo for more infomation on cultures).
Currency Structure | Currency Members | System Namespace | Currency.Format Overload List | Object | String