i have a problem with rounding off or even getting a decimal plce.
i am trying to work out the vat on 15 which would be 2.625. not only does the program not out put 2.625 just 2 it wont round off to just 2.63.
Here is the coding that i am using
can anyone help with my problem?Code:cout << endl; cout<<ceil(17.50/100); cout << endl;
anything will be a great help thanks