Changed every int to int32_t
This commit is contained in:
@ -124,8 +124,8 @@ namespace asp {
|
||||
std::string thousand_sep(const uint64_t& k, const char& sep) noexcept {
|
||||
std::string s = "", n = std::to_string(k);
|
||||
|
||||
int c = 0;
|
||||
for (int i = static_cast<int>(n.size()) - 1; i >= 0; --i) {
|
||||
int32_t c = 0;
|
||||
for (int32_t i = static_cast<int32_t>(n.size()) - 1; i >= 0; --i) {
|
||||
c++;
|
||||
s.push_back(n[i]);
|
||||
if (c == 3) {
|
||||
|
Reference in New Issue
Block a user