convert alert_distance into float for distance calculate to alert when distance to end stop is less than the set alert_distance in preferences