Friday, July 23, 2021

How to add zeros after decimal point

 var a= 10.1;

var result  = a.ToString("f2");

result = 10.10;