|
libcfe
0.12.1
some useful C-functions
|
Go to the source code of this file.
Functions | |
| short int | check_double (const char *s, int len) |
| long double | char_to_double (const char *s, int len) |
| long double char_to_double | ( | const char * | s, |
| int | len | ||
| ) |
Return the decimal number this string represents.
| [in] | s | The string that contains the number. |
| [in] | len | The length of the string that s points to. If -1 is given the length is auto determined and a null terminated string is assumed. |
Definition at line 38 of file char_to_double.c.
| short int check_double | ( | const char * | s, |
| int | len | ||
| ) |
Check if the string represents a decimal value.
| [in] | s | The string that contains the number. |
| [in] | len | The length of the string that s points to. If -1 is given the length is auto determined and a null terminated string is assumed. |
Definition at line 14 of file char_to_double.c.