Entering Fractions

61 views
Skip to first unread message

James Johnson

unread,
May 5, 2026, 4:57:31 PM (9 days ago) May 5
to Free42 & Plus42
Some of the HP models (including HP-32SII) had a fraction entry mode:
  • {IntegerPart} "." {Numerator} "." {Denominator}
For example, keying "2.3.8" would result in 2-3/8 or 2.375.
As a woodworker, this is one of my go-to features.
I'd by the Plus42 version if it had that feature, even if the original HP-42S did not.
Thanks for your app!
AJ

Andy

unread,
May 5, 2026, 10:38:41 PM (9 days ago) May 5
to Free42 & Plus42

Andy

unread,
May 5, 2026, 10:43:57 PM (9 days ago) May 5
to Free42 & Plus42
Cut and paste into Plus42:

00 { 64-Byte Prgm }
01▸LBL "x/16"
02 ABS
03 STO 10
04 FP
05 16
06 STO 01
07 ×
08 FIX 00
09 RND
10 FIX 03
11 STO 00
12 GTO 09
13▸LBL 09
14 RCL 00
15 2
16 ÷
17 STO 02
18 FP
19 X≠0?
20 GTO 08
21 RCL 01
22 2
23 ÷
24 STO 03
25 RCL 02
26 STO 00
27 RCL 03
28 STO 01
29 GTO 09
30▸LBL 08
31 CLA
32 RCL 10
33 AIP
34 ├" "
35 RCL 00
36 AIP
37 ├"/"
38 RCL 01
39 AIP
40 AVIEW
41 RCL 10
42 END

Reply all
Reply to author
Forward
0 new messages