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