What is the 'd' in the literal 12d called?

Posted by Matthew Vines on Stack Overflow See other posts from Stack Overflow or by Matthew Vines
Published on 2010-06-02T15:17:02Z Indexed on 2010/06/02 15:24 UTC
Read the original article Hit count: 163

Filed under:
|
|
|

I feel like I should know the answer to this, but I don't.

What is the type character on a numeric literal called?

double myDouble = 12d;
float myFloat = 10f;

I wanted to find a complete list of them today, but couldn't come up with what to ask Google to search for.

© Stack Overflow or respective owner

Related posts about c#

Related posts about terminology