GPS4Palm

Source Code Documentation


fp.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double cvt_atof (char *strP, char **trailP, short *fracP)
 Convert string to a double precision floating point value.
void format_number (double value, short frac, char *strP)
 Format a double precision floating point value into a string.


Function Documentation

double cvt_atof char *  strP,
char **  trailP,
short *  fracP
 

Convert string to a double precision floating point value.

Parameters:
strP string to convert
trailP pointer to remaining, unconverted part of string
fracP if not null, return number of fractional digits
Returns:
double precision floating point value

Definition at line 203 of file fp.c.

Referenced by HandleMessage().

void format_number double  value,
short  frac,
char *  strP
 

Format a double precision floating point value into a string.

Parameters:
value value to format
frac number of fractional digits
strP pointer to destination string buffer

Definition at line 265 of file fp.c.

Referenced by ApproachFormHandleEvent(), deg_to_str(), HandleMessage(), NavigationFormHandleEvent(), WaypointFormHandleEvent(), and WayptEditFormHandleEvent().


Created: Mon, 08 Oct 2007 22:33:16 +0200
Copyright ©2004 M. Prinke