How do I output a number such that it's never output in scientific notation, but trailing zeros aren't displayed either? I tried

Code:
cout << fixed << noshowpoint;
but it still outputs, say, 90 as 90.00000?