Contact: aviboots(AT)netvision.net.il
39,877 questions
51,801 answers
573 users
#include <stdio.h> #include <stdlib.h> int main(void) { char s[] = "940284.712"; long double ld = strtold(s, NULL); printf ("%Lf", ld); return 0; } /* run: 940284.712000 */