Previous Up Next

5.1.4  Convert units : convert

convert convert units : the first argument is an unit object and the second argument is the new unit (which must be compatible).
Input :

convert(1_h,_s)

Output :

3600_s

Input :

convert(3600_s,_h)

Output :

1_h

Previous Up Next