• Get distance in base unit, converting all other units to them as appropriate.

    Parameters

    • value: number
    • type: string

    Returns number

    • Feet or meters