Converts a numeric value to a String string with the default format.
[Visual Basic] Overloads Public Shared Function Format( _ ByVal value As Decimal, _ ByVal format As String _ ) As String [C#] public static string Format( Decimal value, string format ); [C++] public: static String* Format( Decimal value, String* format ); [JScript] public static function Format( value : Decimal, format : String ) : String;
A String representation of the Decimal in the default format.
If format is null or an empty string, value is formatted as if the string general ("G") format were specified. The numeric format information is obtained from the current locale. (For addition information on current cultures, see CultureInfo.)
Decimal Structure | Decimal Members | System Namespace | Decimal.Format Overload List