989 B
989 B
title: statsPercentValue
description: Channel statistics percentage.
Compute the percentage simply by doing
Compute the percentage simply by doing
part * total / 100
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
Constructor: statsPercentValue
Channel statistics percentage.
Compute the percentage simply by doing part * total / 100
Attributes:
Name | Type | Required | Description |
---|---|---|---|
part | double | Yes | Partial value |
total | double | Yes | Total value |
Type: StatsPercentValue
Example:
$statsPercentValue = ['_' => 'statsPercentValue', 'part' => double, 'total' => double];
Or, if you're into Lua:
statsPercentValue={_='statsPercentValue', part=double, total=double}