import org.unitsofmeasurement.quantity.Length;
import org.unitsofmeasurement.unit.SI;
import tec.units.ri.quantity.Quantities;
public class MeasurementExample {
public static void main(String[] args) {
Length length = Quantities.getQuantity(10, SI.METRE);
double feet = length.to(SI.FOOT).getValue();
}
}