ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2019 All rights reserved.Display amount in crores in C# and VB.Net<p>Hi <a class="username" rel="iammann"> iammann</a>,</p> <p>Check this example. Now please take its reference and correct your code.</p> <p><strong><span style="text-decoration: underline;">C#</span></strong></p> <pre class="brush: csharp">protected void Page_Load(object sender, EventArgs e) { double amount = 985367122.00; if (amount &gt;= 10000000) { Response.Write(Math.Round((amount / 10000000), 1) + &#34; Cr.&#34;); } }</pre> <p><strong><span style="text-decoration: underline;">VB.Net</span></strong></p> <pre class="brush: vb">Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load Dim amount As Double = 985367122.0 If amount &gt;= 10000000 Then Response.Write(Math.Round((amount / 10000000), 1) &amp; &#34; Cr.&#34;) End If End Sub</pre> <p><strong><span style="text-decoration: underline;">Output</span></strong></p> <p>98.5 Cr.</p>, 22 Aug 2019 03:33:51 GMT