mrstephengross wrote: > First of all, str() is not a function. Yes it is. > float f = 1.004; > ostringstream s; > s << f; > cout << s.str(); This doesn't look like Python to me. Are you sure you're on the right newsgroup? STeVe