Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1 KB

cvf.rst

File metadata and controls

32 lines (22 loc) · 1 KB

CVF

Syntax

CVF (mkf_$)

Location

BTool

This function takes any six character long string, (the internal format of a floating point number), and returns the value as a floating point number.

WARNING

CVF locks SuperBASIC if the supplied parameter is six bytes long but not a valid representation of a floating point number, eg. CVF("BlaBla").

MKF$ always returns a valid parameter for CVF which will not crash it.

CROSS-REFERENCE

peek-f, mkf-dlr, cvi-pct, cvl, cvs-dlr.

fputf and fgetf enable you to read and write floating point numbers in internal format to or from files.