Avatar99 36 Newbie Poster

Actually I think it's cout<< fixed << setprecision(2)
and make sure you include iomanip

Avatar99 36 Newbie Poster

*heads desk* Thank you for that very easy solution I should have thought of it.

Salem commented: We've all been there :) +36