Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 727 Bytes

File metadata and controls

41 lines (23 loc) · 727 Bytes

UnitConvert

UnitConvert(quantity)

convert the quantity to the base unit

UnitConvert(quantity, unit)

convert the quantity to the given unit.

See

Examples

Convert radian to degree.

>> UnitConvert(Quantity(Pi, "rad"), "deg") 
180[deg]

>> UnitConvert(Quantity(Pi, "deg"), "rad") 
Pi^2/180[rad]

Implementation status

  • ✅ - full supported

Github