What is the single character after a value called/exactly do in C#? (eg 1.00m) -


What is "called" when you add a literal ring next to some value value?

  decimal d = 1.00m;  

This is called suffix .

From the article:

If you want the literal verbatim to be considered as a decimal, then use the suffix m or m, for example:


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -