hello i am having a little problem, I cant convert a double to one decimal place:
here is my code
for(int i=0; i<marklist.size();i++)
{
double result=floor((marklist.at(i) /maxmark));
cout<< result<<endl;
}
I want result to be one decimal place