Editmon330.c
//////////////////////////////////////////////////////////////////////////
// ParseDecimal() parses decimal numbers. Only returns TRUE if no non-decimal
// characters are encountered (unlike builtins such as scanf).
//

ParseDecimal() parses decimal numbers. Only returns TRUE if no non-decimal
characters are encountered (unlike builtins such as scanf).
ParseDecimal () parses decimal numbers . Only returns TRUE if no non - decimal characters are encountered ( unlike builtins such as scanf ) .
BOOL ParseDecimal(char* t,DWORD* value)
{
    *value = 0;
    while(isdigit(*t))
        *value  = *value * 10 + *(t++) - '0';
    return (*t == 0);
}
BOOL ParseDecimal ( char * t , DWORD * value ) { * value = 0 ; while ( isdigit ( * t ) ) * value = * value * 10 + * ( t ++ ) - ' ' ; return ( * t == 0 ) ; }
ParseDecimal() parses decimal numbers.
ParseDecimal () parses decimal numbers .