title: Convert all properties value of a specific object type with Math.Round?
body: <p>I've a specific object type with this structure:</p>
  
  <pre><code>public class PoissonFullTime
  {
      public double HomeWin { get; set; } //1
      public double Draw { get; set; }  //X
      public double AwayWin { get; set; } //2
      public double HomeWinDraw { get; set; } //1X
  </code></pre>
  
  <p>now calling a specific method I get the properties valorized like this:</p>
  
  <p><a href="https://i.stack.imgur.com/KLlhr.png" rel="nofollow"><img src="https://i.stack.imgur.com/KLlhr.png" alt="enter image description here"></a></p>
  
  <p>this values are stored inside this object:</p>
  
  <pre><code>var fullTimeForecast = poisson.GetFullTimeForecast();
  </code></pre>
  
  <p>is possible iterate to each properties of <code>fullTimeForecast</code> and convert the value into <code>Math.Round(value, 2)</code>? Thanks.</p>