- :unit
units
get the units of given quantity
Parameters
units value :unit :quantity
Attributes
base | get base units |
Returns
Examples
copyunits 3`m ; => `m units `m2 ; => `m2 units 8`J/s ; => `J/s units 7`W ; => `W
copyunits.base 3`m ; => `m units.base `m2 ; => `m2 units.base 8`J/s ; => `J/s units.base 7`W ; => `J/s
copyspecify 'ff 3`items units 3`ff ; => `items units.base 3`ff ; => `items units.base 3`ff.ha ; => `items.m2
copyspecify 'kk 3`m2 units 3`kk ; => `kk units.base 3`kk ; => `m2