From f5d154c2d6ca848a526562bd6a678c311ee34e6b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 25 Nov 2021 20:33:16 +0100 Subject: Thousands comma for youtube likes/dislikes and peertube views --- include/StringUtils.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 -- cgit v1.2.3