Nitin Dhiman. Powered by Blogger.
No comments

Custom Numeric Format Strings Output Examples
The following table illustrates the output created by applying some custom numeric format
strings to specific data types and values. The output was generated using the ToString method
and the English-United States (en-US) culture.

Format string

Data type
Value

Output
#####Double123123
00000Double12300123
(###) ### - ####Double1234567890(123) 456 – 7890
#.##Double1.21.2
0.00Double1.21.20
00.00Double1.201.20
#,#Double12345678901,234,567,890
#,,Double12345678901235
#,,,Double12345678901
#,##0,,Double12345678901,235
#0.##%Double0.0868.6%
0.###E+0Double860008.6E+4
0.###E+000Double860008.6E+004
0.###E-000Double860008.6E004
[##-##-##]Double123456[12-34-56]
##;(##)Double12341234
##;(##)Double-1234(1234)

No comments :

Post a Comment