parse location coordinates as number