mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +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.);
|
|
}
|