Can anyone tell me how to set a float to a specific no of decimal places in c++?

jim.