Previous Up Next

24.1.4  Converting units

The convert command (see Section 10.1.10) can convert a unit object into another compatible unit.

Recall that the => operator is the infixed version of convert.

Examples

convert(1_h,_s)
     
3600.0 s           
convert(3600_s,_h)
     
1.0 h           

Previous Up Next