您的位置: 旅游網 > 明星 >> 張偉

    基本整型數格式化計劃

    發布時間:2021-10-29 05:44:09

    Specifier

    Type

    Format

    Input

    Output

    c

    Currency

    { 0:c}

    250.25

    $250.25

    -250.25

    -$250.25

    d

    Decimal (whole number)

    { 0:d}

    250

    250

    -250

    -250

    http://czbdfyjy.999ask.com/,滁州白癜風醫院哪家好 e

    Scientific

    { 0:e}

    3.14

    3.140000e+000

    -3.14

    -3.140000e+000

    f

    Fixed point

    { 0:f}

    3.14

    3.14

    -3.14

    -3.14

    g

    General

    { 0:g}

    3.14

    3.14

    -3.14

    -3.14

    n

    Number with commas for thousands

    { 0:n}

    25000

    25,000

    -25000

    -25,000

    p

    Percent

    { 0:p}

    .25

    25.00%

    { 0,2:p}

    .25555

    25.56%

    X

    Uppercase hexadecimal

    { 0:X}

    15

    F

    x

    Lowercase hexadecimal

    { 0:x}

    15

    F

    Custom Integer FormattingSpecifier

    Type

    Format

    Input

    Output

    0

    Zero placeholder

    { 0:00.0000}

    3.14

    3.1400

    #

    Digit placeholder

    { 0:(#).##}

    3.14

    (3).14

    .

    Decimal point

    { 0:0.0}

    3.14

    3.1

    ,

    Thousand separator

    { 0:0,0}

    2500.25

    2,500

    ,.

    Number scaling

    { 0:0,.}

    2000

    2

    (Note: Scales by 1000)

    %

    Percent

    { 0:0%}

    25

    2500%

    Multiplies by 100 and adds percent sign

    ;

    Group separator

    {Positive-Format};{ Negative-Format} ;{Zero-format}

    Basic Date FormattingSpecifier

    Description

    Format

    Result Using w

    d

    Short date

    { 0:d}

    4/17/2004

    D

    Long date

    { 0:D}

    April 17, 2004

    t

    Short time

    { 0:t}

    11:50 AM

    T

    Long time

    { 0:T}

    11:50:30: AM

    f

    Full date and time

    { 0:f}

    April 17, 2004 11:51 AM

    F

    Long full date and time

    { 0:F}

    April 17, 2004 11:51:45 AM

    g

    Default date and time

    { 0:g}

    4/17/2004 11:53 AM

    G

    Long default date and time

    { 0:G}

    4/17/2004 11:53:45 AM

    M or m

    Month day

    { 0:M}

    April 17

    R or r

    RFC1123 date string

    { 0:r}

    Sat, 17 Apr 2004 11:55:17 GMT

    s

    Sortable date string

    ISO 8601

    { 0:s}

    T11:56:22

    u

    Universal sortable date pattern

    { 0:u}

    11:58:11Z

    U

    Universal sortable full date pattern

    { 0:U}

    Saturday, April 17, 2004 3:58:32 PM

    Y or y

    Year month pattern

    { 0:Y}

    April, 2004

    Custom Date FormattingSpecifier

    Description

    Format

    d

    Displays the day of the week as a number

    { 0:d}

    dd

    Displays the day of the month as a leading zero integer

    { 0:dd}

    ddd

    Displays the abbreviated day of the week

    { 0:ddd}

    dddd

    Displays the full name of the day of the week

    { 0:dddd}

    f,ff,fff,ffff...

    Displays seconds fractions in one or more digits

    { 0:f} or { 0:ff}

    g or gg

    Displays the era, such as B.C. or A.D.

    { 0:g}

    h

    Displays the hour from 112

    { 0:h}

    hh

    Displays the hour from 112 with leading zero

    { 0:hh}

    H

    Displays the hour in military format 023

    { 0:H}

    HH

    Displays the hour in military format 023 with leading zero for single-digit hours

    { 0:HH}

    m

    Displays the minute as an integer

    { 0:m}

    mm

    Displays the minute as an integer with leading zero for single-digit minute values

    { 0:mm}

    M

    Displays the month as an integer

    { 0:M}

    MM

    Displays the month as an integer with leading zero for single-digit month values

    { 0:MM}

    MMM

    Displays the abbreviated month name

    { 0:MMM}

    MMMM

    Displays the full name of the month

    { 0:MMMM}

    s

    Displays the seconds as a integer

    { 0:s}

    ss

    Displays the seconds as an integer with a leading zero for single-digit second values

    { 0:ss}

    t

    Displays the first character of A.M. or P.M.

    { 0:t}

    tt

    Displays the full A.M. or P.M.

    { 0:tt}

    y

    Displays two-digit year, with no preceding 0 for values 09.

    { 0:y}

    yy

    Displays two-digit year

    { 0:yy}

    yyyy

    Displays four-digit year

    { 0:yyyy}

    zz

    Displays the time zone offset

    { 0:zz}

    :

    Time separator

    { 0:hh:mm:tt}

    /

    Date separator

    { 0:MM/dd/yyyy}

    Trackback:

    重慶治療婦科習慣性流產費用
    哈爾濱治療前列腺炎費用
    積食消化不良怎么辦
    猜你會喜歡的
    猜你會喜歡的
    主站蜘蛛池模板: 日韩国产欧美精品综合二区| 精品一区二区三区无码免费视频| 国产韩国精品一区二区三区久久| 久久久久久青草大香综合精品| 欧美精品一区二区三区久久| 又黄又爽又色又刺激的视频| 欧美h片在线观看| 天天射天天干天天操| 久久99精品视香蕉蕉| 欧美久久久久久| 伊人色综合久久天天| 色欲综合久久中文字幕网| 最近2019免费中文字幕视频三| 免费国产在线观看老王影院| 韩国一大片a毛片女同| 国产精品网址你懂的| 一本一道久久a久久精品综合| 日本高清不卡免费| 亚洲国产精品无码久久一区二区| 精品国产一区二区三区香蕉| 国产区在线观看视频| 你懂的在线视频网站| 天堂√最新版中文在线| 中文字幕在线观看一区二区三区| 最近中文字幕完整电影| 亚洲狠狠狠一区二区三区| 精品国产欧美一区二区| 国产动作大片中文字幕| jizz黄色片| 国自产拍91大神精品| 一本岛一区在线观看不卡| 日本中文字幕网| 亚洲av无码一区二区三区鸳鸯影院 | 久久国产美女免费观看精品| 欧美性猛交xxxx免费看| 国产午夜福利短视频| 3d动漫精品成人一区二区三| 天天狠天天透天干天天怕∴| 中文在线日本免费永久18近| 日韩av激情在线观看| 亚洲国产综合专区在线电影|