How would I output a fixed number of digits. I DO NOT mean a fixed number of digits after the decimal point. I mean a fixed number of digits ALWAYS no matter what my number turns out to be.

How can this be done in C# and in C if anyone knows.

Thanks!