strtod using classic format?

178 Views Asked by At

Now functions strtod and strtol support parsing hex number format, infinity, NaN and other non-standard formats.

But how to convert string to number using only classic format: 123, 1.23, 0.123, -123, 1.23e10, 1.23e-10 ?

Not: +123, .123, 0xabcd, 0123 and etc?

0

There are 0 best solutions below