mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
605c6bd031
* Store percents as integer, with 2 digits of precision * Fix GHA builds for Mac (missing pkg-config) * Fix percents formatting
9 lines
190 B
C++
9 lines
190 B
C++
#include "Percents.h"
|
|
|
|
#include <libtransmission/transmission.h>
|
|
#include <libtransmission/utils.h>
|
|
|
|
std::string Percents::to_string() const
|
|
{
|
|
return tr_strpercent(raw_value_ / 100.);
|
|
}
|