...you meant that you wanted it to display correctly, you simply use the functions, fixed, showpoint, and setprecision. These require <iomanip>.
Other than that, you can get it to show only relevent numbers, but I'd have to search, and that's your job. I remember I used to have the exact opposite problem, it would only display the decimal value, and no trailing zeros!
If you didn't mean that you were trying to do that and worried about storage, as he said, a float is a float, it'll take up the same space (unless you go outside the value range) as any other float regardless of zeros or not, since the memory is allocated to said float.