WLJS LogoWLJS Notebook

IndependentUnit

IndependentUnit[string] represents a unit string with no relationship to other units within a Quantity.

Examples

Quantity[5, IndependentUnit["apples"]]
(* 5 apples *)
Quantity[3, IndependentUnit["widgets"]] + Quantity[2, IndependentUnit["widgets"]]
(* 5 widgets *)

Please visit the official Wolfram Language Reference for more details.

On this page