[racket] Racket Question
Do you want to see the decimal expansion, or would you be happy with
the fractional form? If the former, you can right click on one of the
numbers to change the format, and then any numbers produced after that
will have the new format.
Also, just in case: do you really intend to be using rational
arithmetic, instead of floating point arithmetic?
Robby
On Fri, Mar 30, 2012 at 12:03 AM, Brandon T <btippings at hotmail.com> wrote:
> Hi i have a question that i could not find an answer to on your site, not
> could i find an answer on stack overload. By default, racket prints the
> first 25 digits of a irrational fraction. i.e.
>
>>1/998
> 0.0010020040080160320641282...
>
> where ones that have more than 25 recurring digits have the ellipses
> following the number.
> My question is: is there any way to print more digits by default instead of
> 25? I am scanning through a list of 1000 numbers and really do not want to
> click on every number individually to continue expanding it.
>
> Thank you,
>
> Brandon Tippings
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>