Skip to content

RawData.setFloat

JoeStrout edited this page Apr 29, 2026 · 2 revisions

set 32-bit float at the given byte offset

Parameters

Parameter Default Value Note
offset 0
value 0

Return value

None.

Notes

Example

import "RawData"
data = new RawData
data.resize 4
data.setFloat 0, 3.14
print data.float(0)   // approximately 3.14

Clone this wiki locally