Wilang Documentation1.0.0+4

to#

Change the unit of a value.

Available in: math cells, REPL.

Syntax#

x to unit
to(x, unit)

Arguments and behavior#

Use the callable form shown in the example. Matrix dimensions must agree for matrix operations. Scalar comparison produces a boolean.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
to(5 inch,cm)

Expected result: 12.7 cm.

All functions · Math guides