38 lines
717 B
Markdown
38 lines
717 B
Markdown
|
---
|
||
|
title: statsPercentValue
|
||
|
description: statsPercentValue attributes, type and example
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: statsPercentValue
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|part|[double](../types/double.md) | Yes|
|
||
|
|total|[double](../types/double.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [StatsPercentValue](../types/StatsPercentValue.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$statsPercentValue = ['_' => 'statsPercentValue', 'part' => double, 'total' => double];
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
statsPercentValue={_='statsPercentValue', part=double, total=double}
|
||
|
|
||
|
```
|
||
|
|
||
|
|