# F2HOST
> [HTML Version](f2hostsbr.htm)
**xcall F2HOST, alphaflt, hostflt**
F2HOST converts a six byte BASIC-format floating point value to the equivalent IEEE four byte (single precision) or eight byte (double precision) floating point format. Although this is done internally by A-Shell all the time, since it uses the IEEE format for internal calculations, the subroutine may be handy when exporting data to outside sources.
**Parameters**
_alphaflt_ (F,6)
will return the converted value.
_hostflt_
should be mapped as X,4 or X,8 depending on the size of the IEEE floating point value to be converted.
**Comments**
See [HOST2F](host2f_sbr.htm.md) for the reverse conversion. Note that when exporting data, it is usually more practical to output in string CSV format; see [WRITECD](writecd.htm.md) for an easy way to do this.