(12C) Add or Subtract Fractions
|
09-27-2018, 04:52 PM
(This post was last modified: 09-28-2018 05:44 AM by Dieter.)
Post: #7
|
|||
|
|||
RE: (12C) Add or Subtract Fractions
(09-24-2018 05:24 PM)Dieter Wrote: New calculation: 1/3 – 2/5 Update: there are still a few steps left, so here is a slightly modified version that adds a nicer display of negative results: now the numerator has the sign of the result and the denominator is always positive. So the above example will now be displayed as "–1" 15. The same holds for mixed fractions, so –3 1/4 is returned as "–3" "–1" 4. Here is the code: Code: 01 STO 4 I think it won't get much better now. There's still room for one more step. You may use this to add a FIX 0 (f 0) somewhere. ;-) Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(12C) Add or Subtract Fractions - Gamo - 09-17-2018, 05:49 AM
RE: (12C) Add or Subtract Fractions - Gamo - 09-19-2018, 07:55 AM
RE: (12C) Add or Subtract Fractions - Albert Chan - 09-19-2018, 12:19 PM
RE: (12C) Add or Subtract Fractions - Dieter - 09-19-2018, 06:45 PM
RE: (12C) Add or Subtract Fractions - Dieter - 09-24-2018, 05:24 PM
RE: (12C) Add or Subtract Fractions - Dieter - 09-27-2018 04:52 PM
RE: (12C) Add or Subtract Fractions - Gamo - 09-25-2018, 02:36 AM
|
User(s) browsing this thread: 1 Guest(s)