[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-edu
Subject: Re: [kde-edu]: unified kde-edu style?
From: Dominique Devriese <fritmebufstek () pandora ! be>
Date: 2002-08-08 11:36:42
[Download RAW message or body]
Sebastian Stein <s5228@informatik.htw-dresden.de> writes:
> > - the possibility to practic conversions from fractions to decimal numbers
> > and vica versa. 1/8 = 0.125
>
> Ok. Do you know a good algorithm to convert 0.125 into 1/8?
err, you interpret it as 125/1000 and then you simplify ?
there's also an algorithm to convert decimal numbers of infinite
length, but with a repeating part ( which means the decimal
representations of all rational numbers ) into fractions... I think
the idea was to divide the repeating part by a number which you write
down as x 9's where x is the length of the repeating part ( that's the
best i can explain it in english :). E.g. 0,111... would become 1/9
. 0.1212... would become 12/99 etc. This is the way they explained
it to us in high school, i'm sure there's an easy way to write this
down in code...
cheers
domi
--
I'm ANN LANDERS!! I can SHOPLIFT!!
_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-edu
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic