# SetMemblockFloat

## Description

Write a float (4 byte) value at the given offset. The offset must be less than the size of the memblock. The first value is at offset 0. The offset must be a multiple of 4 as float values cannot be read across 4 byte boundaries. Float values are stored in IEEE 754 format so writing an float and then reading it back in bytes would return various components of the float format.

## Definition

SetMemblockFloat( memID, offset, value )

void agk::SetMemblockFloat( UINT memID, UINT offset, float value )

## Parameters

- memID - The ID of the memblock to modify.
- offset - The offset from the start of the memblock to write to, between 0 and size.
- value - The value to write.