| Maptitude GISDK Help |
Writes a single-precision (4-byte) floating point number to a binary file.
FileWriteFloat(file f, real value)
| Argument | Contents |
|---|---|
| f | A file handle |
| value | Value to be written |
Since real numbers in the Caliper Script are double-precision, accuracy may be lost writing out the values as single precision.
| Error Type | Meaning |
|---|---|
| Error | Cannot write to the file (e.g., out of disk space, the file is not open, or the file is open in the wrong mode) |
| Function | Summary |
|---|---|
| CloseFile() | Closes a file |
| FileReadFloat() | Reads a single precision (4-byte) floating point number from a binary file |
| OpenFile() | Opens a text or binary file on disk |
| ©2025 Caliper Corporation | www.caliper.com |