Display whole number decimal data type to 1dp
<p>I have code which I want to return each of those values to 1 dp:</p>

<pre><code>        static void Main(string[] args)
    {
        decimal[] engine = { 2, 2.5M, 2.6M, 3 };
        engine = engine.Select(x =&gt; { x = Math.Round(x, 1); return x; }).ToArray();
        foreach (var item in engine)
        {
            Console.WriteLine(item);
        }
        Console.ReadLine();
    }
</code></pre>

<p>So it would output something like this in a console application:</p>

<pre><code>2.0
2.5
2.6
3.0
</code></pre>

<p>But the problem is, it outputs:</p>

<pre><code>2
2.5
2.6
3
</code></pre>

<p>How can I make it return whole numbers to 1dp?</p>
