---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.3
alternate:
  - https://divkit.tech/docs/en/concepts/divs/2/number_variable.md
  - https://divkit.tech/docs/ru/concepts/divs/2/number_variable.md
---
> **Documentation Index:** Fetch the complete configuration index at https://divkit.tech/docs/en/llms.txt

# number_variable
A floating-point variable.

## Parameters
| Parameters | Description |
| --- | --- |
| `name` | <p>**string**</p><p>Required parameter.</p><p>Variable name.</p> |
| `type` | <p>**string**</p><p>Required parameter.</p><p>The value must always be `number`.</p> |
| `value` | <p>**number**</p><p>Required parameter.</p><p>Value. Supports expressions for variable initialization.</p> |

<details>
<summary>JSON</summary>

```json
{
  type*: "number",
  name*: "string",
  value*: "number"
}
```
</details>
