Format the output of a string
<p>here 
 string strScore="2"; or
 string strScore="2.45656"
 now here i am checking the condition if it is </p>

<pre><code> double value = double.Parse(strScore);

strScore = value.ToString("##.##");
</code></pre>

<p><strong>2.45656 like this then i am  showing the output as
2.45</strong></p>

<p>if the input is
string strScore="2"; 
 then the ouput is shown as "2"</p>

<p><strong>but now i need  to show the output has  2.00</strong>
 how can i format the  code like this  based on the condition</p>
