Bsoft function

get_float

Source:

src/util/utilities.c

Description:

Converts a defined length string into a floating point number.

Algorithm:

	The string is copied, 0-terminated, and scanned for a floating point number.

Arguments:

char* ptrpointer to the string.
int lenlength to be scanned.

Returns:

float the floating point number.

Prototype:

float get_float(char* ptr, int len)

Generated by bdoc.pl on Thu Dec 16 10:52:51 2010


Back to the Bsoft home