I print double to stringstream this way::
std::stringstream message;
message << sss[j]->stocks << '/' << std::setprecision(5) << sss[j]->profit << '/' << sss[j]->lastPrice;
std::cout << std::setw(30) << message.str();
sss[j]->profit
is double. I want it to be printed "without E", but in output I still have something like this:
-560000/4.076e+005/0.7394
How to avoid e
?