Hi Erich, + if (p[len-1] == 'e' || p[len-1] == 'E') return WS_E_INVALID_FORMAT; /* "1e" */ This is no longer needed. scanf is now returning error on such input. Sorry I haven’t seen it earlier, Piotr