added multiple unit handling

metric : direct entry values
imperial: selct closest value and index