But it still doesn't fix my problem.
I changed all Floats to doubles.
The Method .DistanceTo Returns A double.
And my above sample works when I use your original suggestion. But I can't get it to work otherwise.
I changed all Floats to doubles.
Range=Position.DistanceTo(Index.Position)
The Method .DistanceTo Returns A double.
And my above sample works when I use your original suggestion. But I can't get it to work otherwise.