12
int x = 8; cout << (float) x / 100.0f << endl;
cout << x << ".00" << endl;
cout << dec << x << endl;
cout << (float)x / 100.0f << endl;
std::cout << std::dec << ( x / 100 ) << '.' << std::setw( 2 ) << std::setfill( '0' ) << ( x % 100 ) << std::endl;