Add format option for converting units