==== →HMS ==== ---- Convert decimal time to hours / minutes / seconds ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^ | **Rtime-dec** | **→** | **Rtime-hms** | | //Level 1// | //→// | //Level 1// | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} | **Keyword type** | [[manual:chapter5:basics#commands|Command]] || | **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-5one-argument-one-result-commands|Group 5]] | //One argument, one result commands// | | **Affected by flags** | //None// || ---- The ''→HMS'' command converts a value representing hours with a decimal fraction to hours / minutes / seconds format. The result is expressed by a real number in the format **HH.MMSS**, where: * **HH** are the hours; * **MM** are the minutes; * **SS** are the seconds. ---- ''→HMS'' is not fully equivalent to its **userRPL** counterpart. In particular: * in **userRPL** the time value can express fractions of seconds too; in **newRPL** it is not allowed. ---- **__Input__** 4: 3: 2: 1: 10.84 ………………………………………………………………………………………………………… →HMS \\ **__Output__** 4: 3: 2: 1: 10.5024 ………………………………………………………………………………………………………… ---- {{page>manual:chapter6:system&nofooter&noeditbtn&inline}}