title: C# - Numeric Suffixes
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3271791/declaration-suffix-for-decimal-type">Declaration suffix for decimal type</a>  </p>
  </blockquote>
  
  
  
  <p>Hey everyone,</p>
  
  <p>In the following snippet of code; RewardValue is a decimal:</p>
  
  <pre><code>dto.RewardValue = 1.5;
  </code></pre>
  
  <p>Now, this gives me the following error:</p>
  
  <p>"Cannot convert source type double to target type decimal"</p>
  
  <p>Makes sense, and is easily fixable by changing that line of code to this:</p>
  
  <pre><code>dto.RewardValue = 1.5m;
  </code></pre>
  
  <p>Now, the "m" converts that to a decimal and all is good.</p>
  
  <p>Does anybody know of somewhere where I could find a list of all those "m" type operators?  (and if you could let me know what the proper term for those are, it would be greatly appreciated)</p>
  
  <p><strong>EDIT:</strong>  Thanks to HCL and MartyIX for letting me know that these are referred to as "suffixes"</p>