BinaryStream.WriteSingle

From Xojo Documentation

Method

BinaryStream.WriteSingle(value as Double)

Supported for all project types and targets.

Writes the value passed as a single word to the stream.

Sample Code

Var d As Single = 5.2437
Var writestream As BinaryStream
writeStream.WriteSingle(d)