ReadFloat()

语法

Number.f = ReadFloat(#File)
概要
Read a float (4 bytes) from a file.

参数

#File The file to read from.

返回值

Returns the read float value or zero if there was an error.

Remarks

For an example of how to read from a file, see the ReadFile() function - with ReadFloat() only a float value is read, instead of a complete line (string).

参阅

WriteFloat(), ReadDouble(), OpenFile(), ReadFile()

已支持操作系统

所有

<- ReadFile() - File Index - ReadInteger() ->