percent_t struct
#include <nxt/units.hpp>
Percentage value, where 100 means one whole.
Public functions
Public variables
- double v
- Raw percentage value.
Friends
-
auto operator<=>(percent_
t, percent_ t) → auto defaulted constexpr noexcept -
auto operator==(percent_
t, percent_ t) → bool defaulted constexpr noexcept