ASP.Net Rocks!
Thursday, May 31, 2007
Formatting Strings
Standard Numeric Format Strings
Custom Numeric Formats
Example : Convert a double into a string with 2 decimal places
Dim PercentStat As Double = 3.1423489955
Dim PercentStr As String = PercentStat.ToString("#0.00")
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment