Unit

Function

Unit(value)

value

Unit is included by default in each file as part of the Math library.

 

See also:


Use

The Unit() function returns the unit component of a number. The result is given as 1 of that unit.

Examples
  • Unit(1 ft)  = 1 ft
  • Unit(25 ft)  = 1 ft
  • Unit(-5 lb)  = 1 lb
  • Unit(1 ft to in)  = 1 in