title: How to concatenate a string to the data returned by the model in MVC4
body: <p>I am very new to .NET and am using MVC 4. I have a variable "AvgAnnualGrowth" of type double. This variable can have positive or negative values. When it is negative, I should display "-" before the data and when its positive, I should display "+" before the data. There is no problem with the negative data as the double variable displays "-" by default. For positive values, it does not display "+" explicitly. Any ideas on how to concatenate "+" in front of the data?</p>
  
  <p>Following is the code snippet from my (view) cshtml file.</p>
  
  <pre><code>@foreach (var item in Model)
  {
  
      &lt;tr&gt;                
          &lt;td align="right"&gt;                    
              @Html.DisplayFor(modelItem =&gt; item.AvgAnnualGrowth)
          &lt;/td&gt;   
      &lt;/tr&gt;
  }
  </code></pre>