WriteFloat()

Syntax

Result = WriteFloat(#File, Number.f)
Description
Write a float number (4 bytes) to a file.

Parameters

#File The file to write to.
Number.f The float value to write.

Return value

Returns nonzero if the operation was successful and zero if it failed.

Remarks

The file must be opened using a write-capable function (i.e. not with ReadFile()).

See Also

ReadFloat(), WriteDouble(), CreateFile()

Supported OS

All

<- WriteDouble() - File Index - WriteInteger() ->