(12C) Decimal Expansion of a Fraction
|
01-11-2021, 11:12 AM
(This post was last modified: 01-11-2021 11:26 AM by Gamo.)
Post: #1
|
|||
|
|||
(12C) Decimal Expansion of a Fraction
HP-12C program to give the decimal expansion of a fraction to
as many decimal places as desired. ----------------------------------------------------------------- Procedure: Enter the numerator [R/S] and the denominator, both whole number [R/S] and keep pressing [R/S] giving next digit in the decimal expansion. Record these on paper if you wish. Note that the decimal point is not diplayed by the calculator. Press [PRGM] for each new problem. ------------------------------------------------------------------- Code:
Example: FIX 0 355 / 113 = x.xxxxxxx........... [PGRM] 355 [R/S] 113 [R/S]....... 31415929203539823008849557522123893.......... Remark: This program can be modify further to show 10 decimal expansion digits at a time instead of one at a time but I havn't do this yet. If someone got an idea or ways to do it you're welcome. Thank You Gamo |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(12C) Decimal Expansion of a Fraction - Gamo - 01-11-2021 11:12 AM
RE: (12C) Decimal Expansion of a Fraction - C.Ret - 01-11-2021, 01:01 PM
|
User(s) browsing this thread: 1 Guest(s)