Double.ToString with N Number of Decimal Places
<p>I know that if we want to display a <code>double</code> as a two decimal digit, one would just have to use</p>

<pre><code>public void DisplayTwoDecimal(double dbValue)
{
  Console.WriteLine(dbValue.ToString("0.00"));
}
</code></pre>

<p>But how to extend this to <code>N</code> decimal places, where <code>N</code> is determined by the user?</p>

<pre><code> public void DisplayNDecimal(double dbValue, int nDecimal)
    {
     // how to display
    }
</code></pre>
