(12C) Decimal to Fraction
|
08-07-2018, 09:29 AM
Post: #5
|
|||
|
|||
RE: (12C) Decimal to Fraction
Thanks Dieter
Your program is a lot better. My program use this algorithm. Convert 0.15625 to Fraction 0.15625 --> 1 / 0.15625 = 6.4 FRAC --> 0.4 --> 1 / 0.4 = 2.5 FRAC --> 0.5 --> 1 / 0.5 = 2 FRAC --> 0 Denominator: 6.4 x 2.5 x 2 = 32 Numerator: 0.15625 x 32 = 5 Gamo |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)