(41CX w/Advantage Pac) Feet inches fractions
|
06-27-2022, 06:40 PM
Post: #5
|
|||
|
|||
RE: (41CX w/Advantage Pac) Feet inches fractions
Nice to see it's working for you now.
(06-27-2022 01:25 AM)Xorand Wrote: The code starts out by recalling 00 and multiplying it by x, adding 0.5, then dividing by register 00. You missed taking the integral part with INT: Code: RCL 00 This multiplies the number by the maximum denominator and rounds it to the nearest integer. It makes sure we end up with nice fractions. Later on the fraction is reduced if possible: Code: RCL 00 We could use just .5 instead of 0.5 to save a precious byte and omit the redundant RTN statement at the END to save another one. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(41CX w/Advantage Pac) Feet inches fractions - DMaier - 06-22-2022, 09:35 PM
RE: (41CX w/Advantage Pac) Feet inches fractions - Xorand - 06-27-2022, 01:25 AM
RE: (41CX w/Advantage Pac) Feet inches fractions - Thomas Klemm - 06-27-2022, 04:53 AM
RE: (41CX w/Advantage Pac) Feet inches fractions - Xorand - 06-27-2022, 04:39 PM
RE: (41CX w/Advantage Pac) Feet inches fractions - Thomas Klemm - 06-27-2022 06:40 PM
RE: (41CX w/Advantage Pac) Feet inches fractions - Xorand - 06-27-2022, 11:01 PM
|
User(s) browsing this thread: 1 Guest(s)