getDistanceCode

fnint getDistanceCode(int distance) nothrow @safe

Get the distance code for a given distance.

Parameters

distanceMatch distance (1-32768).

Returns

Distance code (0-29).