diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-25 20:33:16 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-25 20:33:16 +0100 |
commit | f5d154c2d6ca848a526562bd6a678c311ee34e6b (patch) | |
tree | 86d5e5ee765a4ae118e84b812a8fe54cfbecae68 /include | |
parent | 3f0473c5aa472ac99d20a46bd7217ee9b6429f62 (diff) |
Thousands comma for youtube likes/dislikes and peertube views
Diffstat (limited to 'include')
-rw-r--r-- | include/StringUtils.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp index f03ac62..d2457e8 100644 --- a/include/StringUtils.hpp +++ b/include/StringUtils.hpp @@ -28,4 +28,5 @@ namespace QuickMedia { bool to_num_hex(const char *str, size_t size, int &num); std::string seconds_to_relative_time_str(time_t seconds); std::string seconds_to_duration(int seconds); + std::string number_separate_thousand_commas(const std::string &number); }
\ No newline at end of file |