Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
IntToStrWithSep is an int/cln::cl_I conversion code snippet to convert an int to std::string and adding the thousands seperators.
IntToStrWithSep has multiple flavors:
#include <iostream> |
Screen output:
1 -1 |
//--------------------------------------------------------------------------- |
Screen output:
i without seperators: 123456789012345678901234567890 |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.