<commit_before>#ifndef __GS_DVRLIB_TOOLKIT_PROGRESSVALUE_H__
#define __GS_DVRLIB_TOOLKIT_PROGRESSVALUE_H__


#include <stingray/toolkit/StringUtils.h>


namespace stingray
{


	struct ProgressValue
	{
		int		Current;
		int		Total;

		ProgressValue(int current, int total)
			: Current(current), Total(total)
		{ }

		size_t InPercents() const
		{ return 100.0 * Current / Total; }

		std::string ToString() const
		{ return StringBuilder() % InPercents() % "%"; }
	};<commit_msg>remove float number<commit_after>#ifndef __GS_DVRLIB_TOOLKIT_PROGRESSVALUE_H__
#define __GS_DVRLIB_TOOLKIT_PROGRESSVALUE_H__


#include <stingray/toolkit/StringUtils.h>


namespace stingray
{


	struct ProgressValue
	{
		int		Current;
		int		Total;

		ProgressValue(int current, int total)
			: Current(current), Total(total)
		{ }

		size_t InPercents() const
		{ return 100 * Current / Total; }

		std::string ToString() const
		{ return StringBuilder() % InPercents() % "%"; }
	};
{'fraction_non_alphanumeric': 0.10706860706860707, 'fraction_numerical': 0.007276507276507277, 'mean_word_length': 4.598837209302325, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1947798', 'n_tokens_mistral': 393, 'n_tokens_neox': 346, 'n_words': 68}