Step | Lbl | Action | Note |
1 | | RPN | Set the program to run in RPN mode |
2 | | Enter | Push the value onto the stack |
3 | | Int | Take the integer portion |
4 | | Sto1 | Store the result (the hours) in Mem1 |
5 | | - | Subtract the integer from the original, leaving the fraction |
6 | | 100 | Key in 100 |
7 | | x | Multiply the fraction by 100 |
8 | | Enter | Push the result onto the stack |
9 | | Int | Take the integer portion |
10 | | Sto2 | Store the result (the minutes) in Mem2 |
11 | | - | Subtract the integer from the original, leaving the fraction |
12 | | 100 | Key in 100 |
13 | | x | Multiply the fraction by 100 |
14 | | Int | Take the integer portion |
15 | | Sto3 | Store the result (the seconds) in Mem3 |
16 | | Rcl1 | Recall the hours |
17 | | 3600 | Key in 3600 |
18 | | x | Multiply the hours by 3600 (convert to seconds) |
19 | | Rcl2 | Recall the minutes |
20 | | 60 | Key in 60 |
21 | | x | Multiply the minutes by 60 (convert to seconds) |
22 | | Rcl3 | Recall the seconds |
23 | | + | Add the seconds portion to the minutes |
24 | | + | Add the sec/min portion to the hours |
25 | | 3600 | Key in 3600 |
26 | | / | Divide the total seconds by 3600 (convert to decimal hours) |
27 | | r/s | stop |