Represents a ratio of top out of bottom, serialized as a human-readable string like "3 / 10 (30.00%)".
"3 / 10 (30.00%)"
Predefined Ratio constants.
Denominator of the ratio; a value of 0 yields a 0% ratio rather than a division error.
0
0%
The ratio as a fraction in [0, 1], or 0.0 when bottom is 0.
[0, 1]
0.0
Numerator of the ratio.
Renders the ratio as "top / bottom (percent%)", e.g. "3 / 10 (30.00%)".
"top / bottom (percent%)"