Posts by Rodrigo Strauss • 151 points
1 post
-
5
votes3
answers273
viewsA: How to implement Std::to_string for floating point?
Why not use something ready? Boost lexical_cast solves. using std::string; using boost::lexical_cast; int i = 10; string x = lexical_cast<string>(i);…