str_to_fp

Description

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

Definition

float str_to_fp(char *ptr)

Library

LIB/str_fp_lib.bas

Usage

On entry:
ptr is a pointer to a RAM buffer holding the string to be converted
On exit:
The return value is a 32 bit binary floating point number