#include <stdio.h>
#include <stdlib.h>
int main(void) {
char s[] = "940284.712 4728223.7309";
char *p;
long double ld1 = strtold(s, &p);
long double ld2 = strtold(p, NULL);
printf("%Lf %Lf", ld1, ld2);
return 0;
}
/*
run:
940284.712000 4728223.730900
*/