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

    基本整型數格式化計劃

    發布時間: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:

    重慶治療婦科習慣性流產費用
    哈爾濱治療前列腺炎費用
    積食消化不良怎么辦
    猜你會喜歡的
    猜你會喜歡的
    主站蜘蛛池模板: 国产一区二区三区乱码网站| 天堂网2018| 亚洲免费人成视频观看| 美国式禁忌矿桥矿网第11集| 欧美freesex10一13| 厨房切底征服岳| 日本免费人成在线网站| 娇小bbb搡bbb搡bbb| 亚洲男人的天堂在线播放| 色综合久久久久久久久久| 国产精品极品美女自在线观看| 两个人看的www免费视频中文| 最近2019在线观看| 亚洲精品国产国语| 美国免费高清一级毛片| 国产成人年无码AV片在线观看| 99re久久在热线播放最新地址| 成人福利小视频| 久久精品这里热有精品| 毛茸茸性XXXX毛茸茸毛茸茸| 又粗又硬又大又爽免费视频播放| 国产福利你懂的| 成人h在线播放| 久草资源在线观看| 欧美熟妇另类久久久久久多毛| 午夜免费福利在线观看| 香蕉久久夜色精品国产尤物| 国产精品女人在线观看| a√天堂中文在线最新版| 成在线人免费无码高潮喷水 | 手机看片国产福利| 女人18毛片水真多免费看| 中文字幕在线播放不卡| 日韩一级黄色片| 亚洲va欧美va天堂v国产综合| 狠狠操精品视频| 再深点灬舒服灬太大了添学长 | 成人免费av一区二区三区| 久久大香伊焦在人线免费| 欧美俄罗斯乱妇| 亚洲的天堂av无码|