: {0: c}" 12345.6789 total: $12345.68 Common Date and Time formats: Format description output format D. Simplified Date Format: mm/DD/YYYY D detailed Date Format: dddd, Mmmm DD, yyyy F full format (long date + short time) dddd, Mmmm DD, yyyy hh: mm F Complete Date and Time Format (Long date + long time) Dddd, Mmmm DD, yyyy hh: mm: SS G General Format (sh
information$ Gpgsv ,,,,,,,,?,,,,
Total number of GSV statementsNumber of GSV in this sentenceThe total number of visible satellites, ranging from 00 to 12.Satellite Number, ranging from 01 to 32.Satellite elevation, ranging from 00 to 90 degrees.Satellite azimuth, ranging from 359 to degrees. The actual value.Signal noise ratio (C/no), 00 to 99 dB; no table does not receive the signal.Checksum. (check bit ).
Number, and items of a satellite repeat. Each row has a maximum of four satellit
: $12345.68
The commonly used date formats are shown in the following table:
format description output format D simplified Date Format mm/DD/YYYY D detailed Date Format dddd, Mmmm DD, yyyy F full format (long date + short time) dddd, Mmmm DD, yyyy hh: mm F full Date and Time Format (long date + long time) dddd, Mmmm DD, yyyy hh: mm: SS G General Forma
String in dataformatstring formatDataformatstring = "{0: Format String }"
{0} In dataformatstring represents the data itself, while the format string after the colon represents the format they want to display the data;
Number and currency format:After the specified format symbol, you can specify the number of digits to be displayed in decimal places. For example, if the original data is "1.56" and the format is set to {0: N1}, the output is "1.5 」. The common numeric format is shown in the f
Format: mm/DD/YYYYD detailed Date Format: dddd, Mmmm DD, yyyyF full format (long date + short time) dddd, Mmmm DD, yyyy hh: mmF complete Date and Time Format (long date + long time) dddd, Mmmm DD, yyyy hh: mm: SSG General Format (short date + short time) mm/DD/YYYY hh: mmG General Format (short date + long time) mm/DD/YYYY hh: mm: SSM, M month/day format
formatD. Simplified Date Format: mm/DD/YYYYD detailed Date Format: dddd, Mmmm DD, yyyyF full format (long date + short time) dddd, Mmmm DD, yyyy hh: mmFComplete Date and Time Format(Long date + long time)Dddd, Mmmm DD, yyyy hh: mm: SSG General Format (short date + short time) mm/DD/YYYY hh: mmG General Format (short date + long time) mm/DD/YYYY hh: mm: SSM, M mo
From: http://www.cnblogs.com/enuosky/archive/2006/08/29/489014.html
Dataformatstring = "{0: Format String }"
{0} In dataformatstring represents the data itself, while the format string after the colon represents the format they want to display the data;
Number and currency format:After the specified format symbol, you can specify the number of digits to be displayed in decimal places. For example, if the original data is "1.56" and the format is set to {0: N1}, the output is "1.5 」. The
affect formatting.Standard DateTime format stringFormat specifier name descriptionDShort Date ModeRepresents a custom DateTime format string defined by the current ShortDatePattern property.For example, the custom format string for the invariant culture is "mm/dd/yyyy".DLong Date ModeRepresents a custom DateTime format string defined by the current Longdatepattern property.For example, the custom format string for the invariant culture is "dddd, dd MMMM
“;” Characters are used to separate positive, negative, and 0 parts in a format string.OtherAll other charactersAll other characters are copied into the result string and do not affect formatting.Standard DateTime format stringFormat specifier name descriptionDShort Date ModeRepresents a custom DateTime format string defined by the current ShortDatePattern property.For example, the custom format string for the invariant culture is "mm/dd/yyyy".DLong Date ModeRepresents a custom DateTime format s
The float type number is stored in a computer with 4 bytes. Follow the IEEE-754 format standard:A floating-point number consists of 2 parts: base m and index EThe base section uses a binary number to represent the actual value of this floating-pointThe exponent portion occupies a binary number of 8bit and can represent a range of 0-255However, the index can be negative, so the IEEE stipulates that the sub-square must be subtracted from 127 to be the true exponent.Therefore, the float type index
string for the invariant culture is "mm/dd/yyyy".DLong Date ModeRepresents a custom DateTime format string defined by the current Longdatepattern property.For example, the custom format string for the invariant culture is "dddd, dd MMMM yyyy".FFull Date/Time mode (short time)Represents a combination of a long date (D) and a short time (t) pattern, separated by a space.FFull Date/Time mode (long time)Represents a custom DateTime format string defined
"); April 2008 24 15:56 48 seconds System.DateTime.Now.ToString ("yyyy mm month dd hh when mm min ss seconds"); Tuesday, April System.DateTime.Now.ToString ("dddd, MMMM dd yyyy"); II, April ' System.DateTime.Now.ToString ("ddd, MMM d \" ' \ "yy"); Tuesday, April System.DateTime.Now.ToString ("dddd, MMMM dd"); 4-08 System.DateTime.Now.ToString ("M/yy"); 24-04-08 System.DateTime.Now.ToS
The float type number is stored in a computer with 4 bytes. Follow the IEEE-754 format standard:A floating-point number consists of 2 parts: base m and index EThe base section uses a binary number to represent the actual value of this floating-pointThe exponent portion occupies a binary number of 8bit and can represent a range of 0-255However, the index can be negative, so the IEEE stipulates that the sub-square must be subtracted from 127 to be the true exponent.Therefore, the float type index
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.