import org.unitsofmeasurement.quantity.Length;
import org.unitsofmeasurement.unit.SI;
import javax.measure.Quantity;
import javax.measure.Unit;
import javax.measure.quantity.Mass;
public class MeasurementExample {
public static void main(String[] args) {
Quantity<Length> length = Measure.valueOf(5, SI.METER);
Quantity<Length> convertedLength = length.to(SI.KILOMETER);
System.out.println("Original length: " + length);
System.out.println("Converted length: " + convertedLength);
}
}