# SetNumValue method

Sets a numerical value to a variable.

Information note

These changes are not persistent. They only last the duration of the engine session.

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qVal | Value of the variable. | Yes | Number (double) |

## See also

[Update the properties of a variable](https://help.qlik.com/en-US/sense-developer/November2025/csh/engineapi/update-property-variable)