September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -0,0 +1,25 @@
|
|||
double d = 1;
|
||||
d = 1d;
|
||||
d = 1D;
|
||||
d = 1.2; //double is the default if there's no suffix
|
||||
d = 1.2d; //The suffix is redundant here
|
||||
d = .2;
|
||||
d = 12e-12;
|
||||
d = 12E-12;
|
||||
d = 1_234e-1_2; //digit separators are allowed since C# 7
|
||||
float f = 1;
|
||||
f = 1f;
|
||||
f = 1F;
|
||||
f = 1.2f;
|
||||
f = .2f;
|
||||
f = 12e-12f;
|
||||
f = 12E-12f;
|
||||
f = 1_234e-1_2f;
|
||||
decimal m = 1;
|
||||
m = 1m;
|
||||
m = 1m;
|
||||
m = 1.2m;
|
||||
m = .2m;
|
||||
m = 12e-12m;
|
||||
m = 12E-12m;
|
||||
m = 1_234e-1_2m;
|
||||
Loading…
Add table
Add a link
Reference in a new issue