Defining Unit Converters

To define a unit converter, you must provide the name of the measurement unit and its equivalent in meters.

The following code defines the kilometer as the measurement unit.

IlvUnitConverter converter(1000,"km");