.NET Standard DateTime Format Strings



Similar documents
3 Data Properties and Validation Rules

Using AD fields in Policy Patrol

MS Access: Advanced Tables and Queries. Lesson Notes Author: Pamela Schmidt

Utility Software II lab 1 Jacek Wiślicki, jacenty@kis.p.lodz.pl original material by Hubert Kołodziejski

Kaseya 2. User Guide. Version 7.0. English

Template Guide. HTML . Release 8. This template guide is an overview of how to use and customize an HTML templates with Conga Composer.

Export of audit trail events from Salto software. Version 2.0

Microsoft Access 2010 Tables & Field Properties

Bachelors of Computer Application Programming Principle & Algorithm (BCA-S102T)

Applies to Version 6 Release 5 X12.6 Application Control Structure

Pemrograman Dasar. Basic Elements Of Java

2.2 Scientific Notation: Writing Large and Small Numbers

Field Properties Quick Reference

Decimal form. Fw.d Exponential form Ew.d Ew.dEe Scientific form ESw.d ESw.dEe Engineering form ENw.d ENw.dEe Lw. Horizontal

USING CONVERSION FUNCTIONS

Summary Of Mental Maths Targets EYFS Yr 6. Year 3. Count from 0 in multiples of 4 & 8, 50 & 100. Count back in 100s, 10s, 1s eg.

JavaScript: Introduction to Scripting Pearson Education, Inc. All rights reserved.

Chapter 2: Elements of Java

Number Representation

Limitation of Liability

Field Name Data Type Description Field Size Format

How to Fix Mail-Merge Number Formatting in Word 2010

Core Components Data Type Catalogue Version October 2011

Data Storage. Chapter 3. Objectives. 3-1 Data Types. Data Inside the Computer. After studying this chapter, students should be able to:

X1 Professional Client

Streaming Lossless Data Compression Algorithm (SLDC)

Lecture 11: Number Systems

This section describes how LabVIEW stores data in memory for controls, indicators, wires, and other objects.

The gas can has a capacity of 4.17 gallons and weighs 3.4 pounds.

Content. Report Manager Define Search Layout Page Preview Report Report Setup Frequently Asked Questions...

CS106A, Stanford Handout #38. Strings and Chars

Chapter 2 Elementary Programming

Some Scanner Class Methods

CAISO Market Results Interface (CMRI) Interface Specification Fall 2013 Release

ECE 0142 Computer Organization. Lecture 3 Floating Point Representations

C++ Language Tutorial

SWIFT MT940 MT942 formats for exporting data from OfficeNet Direct

Chapter 4: Computer Codes

Progressions for the Common Core State Standards in Mathematics (draft)

We will learn the Python programming language. Why? Because it is easy to learn and many people write programs in Python so we can share.

Retrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved.

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

Positional Numbering System

Programming languages C

Date / Time Arithmetic with Oracle

How to translate VisualPlace

Negative Exponents and Scientific Notation

Base Conversion written by Cathy Saxton

Data Storage 3.1. Foundations of Computer Science Cengage Learning

FF/EDM Intro Industry Goals/ Purpose Related GISB Standards (Common Codes, IETF) Definitions d 4 d 13 Principles p 6 p 13 p 14 Standards s 16 s 25

Introduction to Java Applications Pearson Education, Inc. All rights reserved.

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

Dell Quick Apps for SharePoint 6.3. User Guide

Regular Expressions. General Concepts About Regular Expressions

2010/9/19. Binary number system. Binary numbers. Outline. Binary to decimal

Japanese Character Printers EPL2 Programming Manual Addendum

Number Conversions Dr. Sarita Agarwal (Acharya Narendra Dev College,University of Delhi)

Ecma/TC39/2013/NN. 4 th Draft ECMA-XXX. 1 st Edition / July The JSON Data Interchange Format. Reference number ECMA-123:2009

HelpNDoc User Manual. IBE Software. Copyright 2015 by IBE Software. All Rights Reserved.

The programming language C. sws1 1

Information and Computer Science Department ICS 324 Database Systems Lab#11 SQL-Basic Query

How to Design a Form Report (RTF) Output

BATS Options Exchanges Binary Order Entry Specification

Computer Science 281 Binary and Hexadecimal Review

GM862-GPS, GE863-GPS - GPS AT COMMANDS SET GM862-GPS, GE863-GPS 80278ST10021a Rev. 0-21/04/06

=

Commonly Used Excel Formulas

The Hexadecimal Number System and Memory Addressing

Compiler Construction

Participant Guide RP301: Ad Hoc Business Intelligence Reporting

Introduction to the Hewlett-Packard (HP) 10BII Calculator and Review of Mortgage Finance Calculations

Recognizing PL/SQL Lexical Units. Copyright 2007, Oracle. All rights reserved.

OpenOffice.org 3.2 BASIC Guide

Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner.

How do you compare numbers? On a number line, larger numbers are to the right and smaller numbers are to the left.

MS ACCESS DATABASE DATA TYPES

Variables, Constants, and Data Types

Section 1.4 Place Value Systems of Numeration in Other Bases

Oracle Internal & Oracle Academy

CSC4510 AUTOMATA 2.1 Finite Automata: Examples and D efinitions Definitions

The string of digits in the binary number system represents the quantity

Decimal to Binary Conversion

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: b + 90c = c + 10b

1.1. Overview Direct credits Direct debits Nab direct credits... 12

sqlite driver manual

JavaScript Introduction

Introduction to Visual C++.NET Programming. Using.NET Environment

Recurring Payments Profile Report. Version 1.1

Figure 1. A typical Laboratory Thermometer graduated in C.

Formatting Numbers with C++ Output Streams

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal.

FILE FORMAT OF PAYMENT ORDERS ACCEPTED BY CITIBANK EUROPE PLC FOR CITIBUSINESS DIRECT INTERNET BANKING

A Programming Language for Mechanical Translation Victor H. Yngve, Massachusetts Institute of Technology, Cambridge, Massachusetts

MACMILLAN/McGRAW-HILL. MATH CONNECTS and IMPACT MATHEMATICS WASHINGTON STATE MATHEMATICS STANDARDS. ESSENTIAL ACADEMIC LEARNING REQUIREMENTS (EALRs)

NUMBER SYSTEMS. William Stallings

DEBT COLLECTION SYSTEM ACCOUNT SUBMISSION FILE

Transcription:

.NET Standard DateTime Format Strings Specifier Name Description d Short date pattern Represents a custom DateTime format string defined by the current ShortDatePattern property. D Long date pattern Represents a custom DateTime format string defined by the current LongDatePattern property. f F g G Full date/time pattern (short time) Full date/time pattern (long time) General date/time pattern (short time) General date/time pattern (long time) Represents a combination of the long date (D) and short time (t) patterns, separated by a space. Represents a custom DateTime format string defined by the current FullDateTimePattern property. Represents a combination of the short date (d) and short time (t) patterns, separated by a space. Represents a combination of the short date (d) and long time (T) patterns, separated by a space. M or m Month day pattern Represents a custom DateTime format string defined by the current MonthDayPattern property. o Round-trip date/time pattern Represents a custom DateTime format string using a pattern that preserves time zone information. The pattern is designed to round-trip DateTime formats, including the Kind property, in text. Then the formatted string can be parsed back using Parse or ParseExact with the correct Kind property value. Equivalent custom format string is "yyyy'-'mm'-'dd't'hh':'mm':'ss.fffffffk". R or r RFC1123 pattern Represents a custom DateTime format string defined by the current RFC1123Pattern property. The pattern is a defined standard and the property is readonly. Equivalent custom format string is "ddd, dd MMM yyyy HH':'mm':'ss 'GMT'". Does not convert DateTimes to UTC. s Sortable date/time pattern; ISO 8601 Represents a custom DateTime format string defined by the current SortableDateTimePattern property. This pattern is a defined standard and the property is read-only. Equivalent custom format string is "yyyy'-'mm'-'dd't'hh':'mm':'ss". t Short time pattern Represents a custom DateTime format string defined by the current ShortTimePattern property. For example, the custom format string for the invariant culture is "HH:mm". T Long time pattern Represents a custom DateTime format string defined by the current LongTimePattern property. For example, the custom format string for the invariant culture is "HH:mm:ss". u U Universal sortable date/time pattern Universal sortable date/time pattern Represents a custom DateTime format string defined by the current UniversalSortableDateTimePattern property. Equivalent custom format string is "yyyy'-'mm'-'dd HH':'mm':'ss'Z'". Does not convert DateTimes to UTC. Represents a custom DateTime format string defined by the current FullDateTimePattern property. This pattern is the same as the full date/long time (F) pattern. However, formatting operates on the Coordinated Universal Time (UTC) that is equivalent to the DateTime object being formatted. Y or y Year month pattern Represents a custom DateTime format string defined by the current YearMonthPattern property. For example, the custom format string for the invariant culture is "yyyy MMMM". Any other single character (Unknown specifier) An unknown specifier throws a runtime format exception.

.NET Custom DateTime Format Strings Specifier d dd ddd dddd f ff F FF g or gg h hh H HH K m mm M MM MMM MMMM Description Represents the day of the month as a number from 1 through 31. A single-digit day is formatted without a leading zero. Represents the day of the month as a number from 01 through 31. A single-digit day is formatted with a leading zero. Represents the abbreviated name of the day of the week as defined in the current System.Globalization.DateTimeFormatInfo.AbbreviatedDayNames property. Represents the full name of the day of the week as defined in the current System.Globalization.DateTimeFormatInfo.DayNames property. Represents the most significant digit of the seconds fraction. Note that if the "f" format specifier is used alone, without other format specifiers, it is interpreted as the "f" standard DateTime format specifier (full date/time pattern). When you use this format specifier with the ParseExact or TryParseExact method, the number of "f" format specifiers that you use indicates the number of most significant digits of the seconds fraction to parse. Number of repeated specifiers represents most significant digits of the seconds fraction. Represents the most significant digit of the seconds fraction. Nothing is displayed if the digit is zero. When you use this format specifier with the ParseExact or TryParseExact method, the number of "F" format specifiers that you use indicates the maximum number of most significant digits of the seconds fraction to parse. Number of repeated specifiers represents most significant digits of the seconds fraction. Trailing zeros, or two zero digits, are not displayed. Represents the period or era (A.D. for example). This specifier is ignored if the date to be formatted does not have an associated period or era string. Represents the hour as a number from 1 through 12, that is, the hour as represented by a 12-hour clock that counts the whole hours since midnight or noon. A single-digit hour is formatted without a leading zero. Represents the hour as a number from 01 through 12, that is, the hour as represented by a 12-hour clock that counts the whole hours since midnight or noon. A single-digit hour is formatted with a leading zero. Represents the hour as a number from 0 through 23, that is, the hour as represented by a zero-based 24-hour clock that counts the hours since midnight. A single-digit hour is formatted without a leading zero. Represents the hour as a number from 00 through 23, that is, the hour as represented by a zero-based 24-hour clock that counts the hours since midnight. A single-digit hour is formatted with a leading zero. Represents different values of the DateTime.Kind property, that is, Local, Utc, or Unspecified. This specifier round-trips the kind value in text and preserves the time zone. For the Local kind value, this specifier is equivalent to the "zzz" specifier and displays the local offset, for example, "-07:00". For the Utc kind value, the specifier displays a "Z" character to represent a UTC date. For the Unspecified kind value, the specifier is equivalent to "" (nothing). Represents the minute as a number from 0 through 59. The minute represents whole minutes passed since the last hour. A single-digit minute is formatted without a leading zero. Represents the minute as a number from 00 through 59. The minute represents whole minutes passed since the last hour. A single-digit minute is formatted with a leading zero. Represents the month as a number from 1 through 12. A single-digit month is formatted without a leading zero. Represents the month as a number from 01 through 12. A single-digit month is formatted with a leading zero. Represents the abbreviated name of the month as defined in the current System.Globalization.DateTimeFormatInfo.AbbreviatedMonthNames property. Represents the full name of the month as defined in the current System.Globalization.DateTimeFormatInfo.MonthNames property.

s ss t tt y yy yyy yyyy yyyyy z zz zzz Represents the seconds as a number from 0 through 59. The second represents whole seconds passed since the last minute. A single-digit second is formatted without a leading zero. Represents the seconds as a number from 00 through 59. The second represents whole seconds passed since the last minute. A single-digit second is formatted with a leading zero. Represents the first character of the A.M./P.M. designator defined in the current System.Globalization.DateTimeFormatInfo.AMDesignator or System.Globalization.DateTimeFormatInfo.PMDesignator property. Represents the A.M./P.M. designator as defined in the current System.Globalization.DateTimeFormatInfo.AMDesignator or System.Globalization.DateTimeFormatInfo.PMDesignator property. Represents the year as at most a two-digit number. If the year has more than two digits, only the two low-order digits appear in the result. If the year has fewer than two digits, the number is formatted without a leading zero. Represents the year as a two-digit number. If the year has more than two digits, only the two low-order digits appear in the result. If the year has fewer than two digits, the number is padded with leading zeroes to achieve two digits. Represents the year as a three-digit number. If the year has more than three digits, only the three low-order digits appear in the result. If the year has fewer than three digits, the number is padded with leading zeroes to achieve three digits. Note that for the Thai Buddhist calendar, which can have five-digit years, this format specifier displays all five digits. Represents the year as a four-digit number. If the year has more than four digits, only the four low-order digits appear in the result. If the year has fewer than four digits, the number is padded with leading zeroes to achieve four digits. Note that for the Thai Buddhist calendar, which can have five-digit years, this format specifier renders all five digits. Represents the year as a five-digit number. If the year has more than five digits, only the five low-order digits appear in the result. If the year has fewer than five digits, the number is padded with leading zeroes to achieve five digits. If there are additional "y" specifiers, the number is padded with as many leading zeroes as necessary to achieve the number of "y" specifiers. Represents the signed time zone offset of your system from Greenwich Mean Time (GMT) measured in hours. For example, the offset for a computer in the Pacific Standard Time zone is "-8". The offset is always displayed with a leading sign. A plus sign (+) indicates hours ahead of GMT and a minus sign (-) indicates hours behind GMT. The offset ranges from 12 through +13. A single-digit offset is formatted without a leading zero. The offset is affected by daylight savings time. Represents the signed time zone offset of your system from Greenwich Mean Time (GMT) measured in hours. For example, the offset for a computer in the Pacific Standard Time zone is "-08". The offset is always displayed with a leading sign. A plus sign (+) indicates hours ahead of GMT and a minus sign (-) indicates hours behind GMT. The offset ranges from 12 through +13. A single-digit offset is formatted with a leading zero. The offset is affected by daylight savings time. Represents the signed time zone offset of your system from Greenwich Mean Time (GMT) measured in hours and minutes. For example, the offset for a computer in the Pacific Standard Time zone is "-08:00". The offset is always displayed with a leading sign. A plus sign (+) indicates hours ahead of GMT and a minus sign (-) indicates hours behind GMT. The offset ranges from 12 through +13. A single-digit offset is formatted with a leading zero. The offset is affected by daylight savings time. : The time separator defined in the current System.Globalization.DateTimeFormatInfo.TimeSeparator property that is used to differentiate hours, minutes, and seconds. / The date separator defined in the current System.Globalization.DateTimeFormatInfo.DateSeparator property that is used to differentiate years, months, and days. " Quoted string (quotation mark). Displays the literal value of any string between two quotation marks ("). Precede each quotation mark with an escape character (\). ' Quoted string (apostrophe). Displays the literal value of any string between two apostrophe (') characters. %c Represents the result associated with a custom format specifier "c", when the custom DateTime format string consists solely of that custom format specifier. That is, to use the "d", "f", "F", "h", "m", "s", "t", "y", "z", "H", or "M" custom format specifier by itself, specify "%d", "%f", "%F", "%h", "%m", "%s", "%t", "%y", "%z", "%H", or "%M". \c The escape character. Displays the character "c" as a literal when that character is preceded by the escape character (\). To insert the backslash character itself in the result string, use two escape characters ("\\"). Any other char. Any other character is copied to the result string, and does not affect formatting.

.NET Standard Number Format Strings Specifier Name Description C or c Currency The number is converted to a string that represents a currency amount. The conversion is controlled by the currency format information of the current NumberFormatInfo object. Precision specifier (eg. {0:C5} allowed. D or d Decimal This format is supported only for integral types. The number is converted to a string of decimal digits (0-9), prefixed by a minus sign if the number is negative. Precision specifier (eg. {0:d3} allowed. E or e Scientific (exponential) The number is converted to a string of the form "-d.ddd E+ddd" or "-d.ddd e+ddd", where each 'd' indicates a digit (0-9). The string starts with a minus sign if the number is negative. One digit always precedes the decimal point. Precision specifier (eg. {0:E5} allowed. The case of the format specifier indicates whether to prefix the exponent with an 'E' or an 'e'. The exponent always consists of a plus or minus sign and a minimum of three digits. The exponent is padded with zeros to meet this minimum, if required. F or f Fixed-point The number is converted to a string of the form "-ddd.ddd " where each 'd' indicates a digit (0-9). The string starts with a minus sign if the number is negative. Precision specifier (eg. {0:f4} allowed. G or g General The number is converted to the most compact of either fixed-point or scientific notation, depending on the type of the number and whether a precision specifier is present. N or n Number The number is converted to a string of the form "-d,ddd,ddd.ddd ", where '-' indicates a negative number symbol if required, 'd' indicates a digit (0-9), ',' indicates a thousand separator between number groups, and '.' indicates a decimal point symbol. The actual negative number pattern, number group size, thousand separator, and decimal separator are specified by the current NumberFormatInfo object. Precision specifier (eg. {0:N5} allowed. P or p Percent The number is converted to a string that represents a percent as defined by the NumberFormatInfo.PercentNegativePattern property if the number is negative, or the NumberFormatInfo.PercentPositivePattern property if the number is positive. The converted number is multiplied by 100 in order to be presented as a percentage. Precision specifier (eg. {0:p6} allowed. R or r Round-trip This format is supported only for the Single and Double types. The round-trip specifier guarantees that a numeric value converted to a string will be parsed back into the same numeric value. When a numeric value is formatted using this specifier, it is first tested using the general format, with 15 spaces of precision for a Double and 7 spaces of precision for a Single. If the value is successfully parsed back to the same numeric value, it is formatted using the general format specifier. However, if the value is not successfully parsed back to the same numeric value, then the value is formatted using 17 digits of precision for a Double and 9 digits of precision for a Single. Precision specifier NOT allowed. X or x Hexadecimal This format is supported only for integral types. The number is converted to a string of hexadecimal digits. The case of the format specifier indicates whether to use uppercase or lowercase characters for the hexadecimal digits greater than 9. Precision specifier (eg. "{0:x4}" allowed. If required, the number is padded with zeros to its left to produce the number of digits given by the precision specifier. Any other single char. (Unknown specifier) Examples (en-us) An unknown specifier throws a runtime format exception. Format String Data type Value Output C Double 12345.6789 $12,345.68 D Int32 12345 12345 D8 Int32 12345 00012345 E Double 12345.6789 1.234568E+004 E10 Double 12345.6789 1.2345678900E+004 E Double 12345.6789 1.2346e+004 Format String Data type Value Output F Double 12345.6789 12345.68 F0 Double 12345.6789 123456 F6 Double 12345.6789 12345.678900 G Double 12345.6789 12345.6789 G7 Double 12345.6789 12345.68 G Double 0.0000023 2.3E-6 Format String Data type Value Output G2 Double 1234 1.2E3 G Double Math.PI 3.14159265358979 N Double 12345.6789 12,345.68 N4 Double 123456789 123,456,789.0000 P Double.126 12.60 % r Double Math.PI 3.141592653589793

.NET Custom Number Format Strings Specifier Name Description 0 Zero placeholder If the value being formatted has a digit in the position where the '0' appears in the format string, then that digit is copied to the result string. The position of the leftmost '0' before the decimal point and the rightmost '0' after the decimal point determines the range of digits that are always present in the result string. The "00" specifier causes the value to be rounded to the nearest digit preceding the decimal, where rounding away from zero is always used. For example, formatting 34.5 with "00" would result in the value 35. # Digit placeholder If the value being formatted has a digit in the position where the '#' appears in the format string, then that digit is copied to the result string. Otherwise, nothing is stored in that position in the result string. This specifier never displays the '0' character if it is not a significant digit, even if '0' is the only digit in the string. It will display the '0' character if it is a significant digit in the number being displayed. The "##" format string causes the value to be rounded to the nearest digit preceding the decimal, where rounding away from zero is always used. For example, formatting 34.5 with "##" would result in the value 35.. Decimal point The first '.' character in the format string determines the location of the decimal separator in the formatted value; any additional '.' characters are ignored. The actual character used as the decimal separator is determined by the NumberDecimalSeparator property of the NumberFormatInfo that controls formatting., Thousand separator and number scaling Thousand Separator Specifier If one or more ',' characters is specified between two digit placeholders (0 or #) that format the integral digits of a number, a group separator character is inserted between each number group in the integral part of the output. The NumberGroupSeparator and NumberGroupSizes properties of the current NumberFormatInfo object determine the character used as the number group separator and the size of each number group. Number Scaling Specifier If one or more ',' characters is specified immediately to the left of the explicit or implicit decimal point, the number to be formatted is divided by 1000 each time a number scaling specifier occurs. For example, if the string "0,," is used to format the number 100 million, the output is "100". You can use thousand separator and number scaling specifiers in the same format string. % Percentage placeholder The presence of a '%' character in a format string causes a number to be multiplied by 100 before it is formatted. The appropriate symbol is inserted in the number itself at the location where the '%' appears in the format string. The percent character used is dependent on the current NumberFormatInfo class. E0 E+0 E-0 e0 e+0 e-0 Scientific notation If any of the strings "E", "E+", "E-", "e", "e+", or "e-" are present in the format string and are followed immediately by at least one '0' character, then the number is formatted using scientific notation with an 'E' or 'e' inserted between the number and the exponent. The number of '0' characters following the scientific notation indicator determines the minimum number of digits to output for the exponent. The "E+" and "e+" formats indicate that a sign character (plus or minus) should always precede the exponent. The "E", "E-", "e", or "e-" formats indicate that a sign character should only precede negative exponents. \ Escape character In C# and C++, the backslash character causes the next character in the format string to be interpreted as an escape sequence. It is used with traditional formatting sequences like '\n' (new line). In some languages, the escape character itself must be preceded by an escape character when used as a literal. Otherwise, the compiler interprets the character as an escape sequence. Use the string "\\" to display '\'. Note that this escape character is not supported in Visual Basic; however, ControlChars provides the same functionality. 'ABC' "ABC" Literal string Characters enclosed in single or double quotes are copied to the result string, and do not affect formatting. ; Section separator The ';' character is used to separate sections for positive, negative, and zero numbers in the format string. Other All other characters Any other character is copied to the result string, and does not affect formatting.

Section Separators and Conditional Formatting Different formatting can be applied to a string based on whether the value is positive, negative, or zero. To produce this behavior, a custom format string can contain up to three sections separated by semicolons. These sections are described in the following table. 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. No. of Sections One section Two sections Three sections Description The format string applies to all values. The first section applies to positive values and zeros, and the second section applies to negative values. If the number to be formatted is negative, but becomes zero after rounding according to the format in the second section, then the resulting zero is formatted according to the first section. The first section applies to positive values, the second section applies to negative values, and the third section applies to zeros. The second section can be left empty (by having nothing between the semicolons), in which case the first section applies to all nonzero values. If the number to be formatted is nonzero, but becomes zero after rounding according to the format in the first or second section, then the resulting zero is formatted according to the third section. Format string Data type Value Output ##### Double 123 123 00000 Double 123 00123 (###) ### - #### Double 1234567890 (123) 456 7890 #.## Double 1.2 1.2 0.00 Double 1.2 1.20 00.00 Double 1.2 01.20 #,# Double 1234567890 1,234,567,890 #,, Double 1234567890 1235 #,,, Double 1234567890 1 #,##0,, Double 1234567890 1,235 Section separators ignore any preexisting formatting associated with a number when the final value is formatted. For example, negative values are always displayed without a minus sign when section separators are used. If you want the final formatted value to have a minus sign, you should explicitly include the minus sign as part of the custom format specifier. #0.##% Double 0.086 8.6% 0.###E+0 Double 86000 8.6E+4 0.###E+000 Double 86000 8.6E+004 0.###E-000 Double 86000 8.6E004 [##-##-##] Double 123456 [12-34-56] ##;(##) Double 1234 1234 ##;(##) Double -1234 (1234)