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!

Decimal.Format

Converts a numeric value to a String.

Overload List

Converts a numeric value to a String string with the default format.

[Visual Basic] Overloads Public Shared Function Format(Decimal, String) As String
[C#] public static string Format(Decimal, String);
[C++] public: static String* Format(Decimal, String);
[JScript] public static function Format(Decimal, String) : String;

Converts the value of this instance to a String with the format provided by TBD.

[Visual Basic] Overloads Overridable Public Function Format(String, IServiceObjectProvider) As String
[C#] public virtual string Format(String, IServiceObjectProvider);
[C++] public: virtual String* Format(String*, IServiceObjectProvider);
[JScript] public function Format(String, IServiceObjectProvider) : String;

Converts a numeric value to a String with the specified format string.

[Visual Basic] Overloads Public Shared Function Format(Decimal, String, NumberFormatInfo) As String
[C#] public static string Format(Decimal, String, NumberFormatInfo);
[C++] public: static String* Format(Decimal, String, NumberFormatInfo);
[JScript] public static function Format(Decimal, String, NumberFormatInfo) : String;

See Also

Decimal Structure | Decimal Members | System Namespace