ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Round Float Number to two Decimal Places in C#<p>This way</p> <pre class="brush: csharp">float x = float.Parse(txtx.Text); float y= float.Parse(txty.Text); float result = x- y; txtresult.Text = result.ToString(&#34;N2&#34;);</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/715938/Round-Float-Number-to-two-Decimal-Places-in-C/https://www.aspforums.net:443/Threads/715938/Round-Float-Number-to-two-Decimal-Places-in-C/Mon, 09 Apr 2018 04:30:34 GMT