lat = asin(z / R) //Latitude
lon = atan2(y, x) //Longitube
Where R is the approx radius of earth.
Here's link to really simple & clear explaination of it.
What measurement would the radius of the earth be in? I used '6372797.560856' which is meters but it returns NAN for the value. X: -8.85107925999806E+16 Y:4.23694439668789E+16 Z: -4.45135253464797E+160.9
I got it! Thanks for your help, I looked over that link you gave me for a 6th time and copied and pasted and rewrote it to what I have. THANK YOU VERY MUCH!