Reduce distanceBetween() output precision from double to float