fp_e_str

Description

Convert 32 bit binary floating point value to ASCII decimal string equivalent using scientific notation

Definition

fp_e_str(char *ptr, float val, byte width, byte precision)

Library

LIB/str_fp_lib.bas

Usage

On entry:
ptr is a pointer to a RAM buffer where the string is to be written
val is a 32 bit binary floating point value to be converted
width is the maximum width of the string to be generated (NOTE this does not include the extra NUL terminating character added to the end of the string)
precision is the maximum number of digits after the decimal
On exit:
There is no return value