I am having an issue with converting a set of coordinates from a string to a number.
The string I receive after I receive them from the json string is formatted like this “(-28.45417, 153.33635)” that’s every thing inside the quotation marks including brackets.
So I tried spitting the string at the “,” and then Farray=parseFloat()
then on the Farray and Farray
It appears Farray still works out to be NaN though parseFloat() did get the correct longitude which is Farray:D.
Can anyone see how I get the Farray to be a number?