Код: Выделить всё
#include
#include
using namespace std;
int main () {
double toFloor = 9.4;
double toCeil = 9.4;
double toRound = 9.5;
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78678728/what-form-is-a-floored-or-ceilinged-double-when-cout-represenation-has-no-deci[/url]