Analyze the decimal part of a real number. * @param str Pointer to first character. * @retval Pointer to first non numerical after the string. If success. * @retval Null pointer if any error occur. */
| 257 | * @retval Pointer to first non numerical after the string. If success. |
| 258 | * @retval Null pointer if any error occur. */ |
| 259 | static char* fraqValue( char* ptr ) { |
| 260 | if ( !isdigit( *ptr ) ) return 0; |
| 261 | ptr = goNum( ++ptr ); |
| 262 | if ( !ptr ) return 0; |
| 263 | return ptr; |
| 264 | } |
| 265 | |
| 266 | /** Parser a string to get a numerical value. |
| 267 | * If the first character after the value is different of '}' or ']' is set to '\0'. |