Publisher review:Scanfrac.C - Scans/converts text fractions scanfrac() scans an input string for a numeric value, which can be specified as:1. an integer, 52. a floating point value, 5.13. a fraction, or 3/44. a mixed fraction. 5 3/4 or 5-3/4Conditions:1. Preceding whitespace is allowed.2. The input number may be signed.3. The fractional part of a mixed fraction (but not pure fraction) must be less than 1.4. The numerator and denominator of a fraction or mixed fraction must be less than 2^31.Parameters:1. Input buffer containing value.2. Pointer to double to receive return value.Return status:0 = OK, value returned in f,1 = bad input format,2 = can't allocate memory
Scanfrac.C is a C/C++ script for Snippets scripts design by Bob Stout.
It runs on following operating system: Windows / Linux / BSD / Solaris.
Scanfrac.C - Scans/converts text fractions
Operating system:Windows / Linux / BSD / Solaris