Question : String.format take down all zero's

How do I format 20.000 to show only 20 with no zero's?

Answer : String.format take down all zero's

What about truncating?

string stringValue = ((int) yourValue).ToString();
Random Solutions  
 
programming4us programming4us