I want to format the digital format

xiaoxiao2021-03-06  82

.NET Framework Developer Guide

Custom Digital Format String Output Example

See

Custom Digital Format String | Standard Digital Format Strings

The following table illustrates the output created by using certain custom digital format strings by applying specific data types and values. Generate output using the TOSTRING method and the American English region.

"Format" column indicates the format string, the "Data Type" column indicates the data type used, the "Value" column indicates the formatted value, the "Output" column indicates the formatting result.

Format data type value output ##### Double12312300000double12300123 (###) ### - #### Double1234567890 (123) 456 - 7890 #. ## Double1.21.20.00double1.21.2000.00double1.201.20 #, # double12345678901 , 234, 567, 890 # ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, .6e 0040. ### e-000double860008.6e004 [## - ## - ##] double123456 [12-34-56] ##; (##) double12341234 ##; (##) Double-1234 ( 1234)

See

Custom Digital Format String | Standard Digital Format Strings

Send an opinion about this topic

© 2001-2002 Microsoft Corporation. all rights reserved.

转载请注明原文地址:https://www.9cbs.com/read-107961.html

New Post(0)