Letter after a number, what is it called?

后端 未结 5 1284
无人及你
无人及你 2020-12-10 01:53

What is this called?

double  d1 = 0d;
decimal d2 = 0L;
float   d3 = 0f;

And where can I find a reference of characters I can use? If I want

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-10 02:10

    Here's the reference of the decimal type in C#:

    http://msdn.microsoft.com/en-us/library/364x0z75(v=VS.100).aspx

    And here's the reference of the "Standard Numeric Format Strings", which is what you are asking about:

    http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx

提交回复
热议问题