Convert int to Decimal (2 decimal places for eg: 123.00)

Ranjeet_8
Posted by Ranjeet_8 under ASP.NET category on | Points: 40 | Views : 1363

int xyz = 123;
string Cint = String.Format("{0:0.00}", xyz);

Comments or Responses

Login to post response