I've retrieved a decimal value from database as a string:
string get_amt = dt_.Rows[i]["billing_amt"].ToString();
Values of billing_amt are 100.0000, 150.0000, 0.0000.
I tried to display the value of get_amt rounding up to two decimal places using the code:
string.Format("{0:0.00}", get_amt)
but it is not working. How can I show the value of get_amt as 100.00 or 150.00? Please suggest.