in

convert quantity to given unit


Parameters

in unit :string :word :literal :unit
   value :integer :floating :rational :quantity

Returns

  • :quantity

Examples

copy
print in`cm 3`m ; 300.0 cm print in`m2 1`yd2 ; 0.836127 m²

Related