floating point to/from string conversion functions are provided in the libraries

LIB/str_fp_lib.bas


 
fp_e_str convert 32 bit binary floating point value to ASCII decimal string equivalent using scientific notation
fp_str convert 32 bit binary floating point value to ASCII decimal string equivalent using simple decimal point notation
fp_g_str convert 32 bit binary floating point value to ASCII decimal string equivalent using either simple decimal point notation or scientific notation depending on size of number to be printed
str_to_fp convert ASCII decimal string to equivalent 32 bit binary floating point value the string must be NUL terminated and only the most significand 8 decimal digits of the result are retained. The string may be in either simple or scientific notation