# SetValue(string,float)

Method in [MemoryVariableStore](https://docs.yarnspinner.dev/2.3/api/csharp/yarn/yarn.memoryvariablestore)

## Summary

Stores a `float` in this VariableStorage.

```csharp
public void SetValue(string variableName, float floatValue)
```

## Parameters

| Name                  | Description                               |
| --------------------- | ----------------------------------------- |
| `string` variableName | The name to associate with this variable. |
| `float` floatValue    | The number to store.                      |
