[plt-scheme] programmaticly change display of rationals
DrScheme should have remembered your most recent choice in the
preferences system, but it wasn't doing that right for the fraction
style. I've committed a fix in SVN for that just now.
Robby
On Wed, Sep 2, 2009 at 11:26 PM, Scott Hickey<sshickey at qwest.net> wrote:
> In DrScheme, right clicking on a rational gives three options:
>
> * view decimal expansion
> * view as mixed fraction
> * view as improper fraction
>
> I know the function (read-decimal-as-inexact #f) will let me type rationals
> such as 1.1. Is there function like that for displaying them as well.
>
> I'd like (* 1.1 0.1) to display as 0.11 instead of 11/100 by default.
>
> Scott Hickey
> Senior Consultant
> Object Partners, Inc.
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>