NumberCompose
NumberCompose[{c1, ..., cn}, {u1, ..., un}] returns the quantity c₁u₁ + ... + cₙuₙ.
Examples
Compose a number from units:
NumberCompose[{3, 2, 5}, {100, 10, 1}]
(* 325 *)Time composition:
NumberCompose[{2, 30, 45}, {3600, 60, 1}]
(* 9045 seconds *)Compose quantities with unit arithmetic:
UnitConvert[5 Quantity[1, "Meters"] + 3 Quantity[1, "Centimeters"], "Centimeters"]Something isn't working? Report an issue.
Please visit the official Wolfram Language Reference for more details.