# get_named_variable_value {{< callout context="note" title="NOTE" icon="outline/bulb" >}} Deprecated. Use `fsVarsLVarGet` instead. {{< /callout >}}   The **get\_named\_variable\_value** function retrieves the value of a local variable, given an ID.   ##### Syntax ``` wasm FLOAT64 get_named_variable_value( ID id ); ```   ##### Members {{< table-wrapper >}} | Parameters | Description | |------------|-----------------------------------| | `id` | Specifies the ID of the variable. | {{< /table-wrapper >}}   ##### Return Values The function returns the value in a `FLOAT64`. 0 is returned if the variable ID is not found.   ##### Remarks N/A