I want to make round a number to million. This is my code:
string formating = "#,#,,";
decimal abc = 1234567890m;
decimal abc2 = 0m;
string text = abc.ToString(formating); // text="1,235"
string text2 = abc2.ToString(formating); // text2=""
Please help me to correct formating so that text2="0". Thanks.
P/S: I use C# .Net 2.0. Thanks.