c# limit decimal value to 2 places : <p>I found a ton of answers but none work for me, can anyone help me with this problem.
I have a formula witch gives a very extensive result and only want a value like for instance 1,25 </p>

<p>I tried several codes but none worked, what i have now is:</p>

<pre><code>    uw = (adp * ufa + adv * ug + perv * wmk) / ac;
    String.Format("{0:.##}", uw);
    resposta.Text = uw.ToString();
</code></pre>

<p><code>resposta</code> is a <code>label</code> in witch i display the answer.
<code>uw</code> is <code>decimal</code>.</p>

<p>I dont want to round the value, just limit the numbers. </p>

<p>Thansk for the assist,</p>
