[racket] Formating Printing of Real Number

From: Ray Racine (ray.racine at gmail.com)
Date: Fri Jul 27 15:27:06 EDT 2012

real->decimal-string is the bare bones of what I was looking for yes.  Mr.
Koot's excellent package is exceeding all expectations.  Grants explicit
Float's displaying with regard to decimals, mantissa and significand.

Thanks all.

On Fri, Jul 27, 2012 at 3:19 PM, Vincent St-Amour <stamourv at ccs.neu.edu>wrote:

> Does `real->decimal-string' do what you want?
>
> Vincent
>
>
> At Fri, 27 Jul 2012 14:27:17 -0400,
> Ray Racine wrote:
> >
> > [1  <multipart/alternative (7bit)>]
> > [1.1  <text/plain; ISO-8859-1 (7bit)>]
> > Unable to locate a means to control the output formatting of
> > Real/Floats/what-have-you either via current formatting facilities
> (format
> > procedure etc) or via some parameter.  Is there anything available?
> >
> > ;; stipulate in some manner
> > > (asin 1.0+5.0i)
> > 0.1938+2.3310i
> >
> > vs.
> >
> > > (asin 1.0+5.0i)
> > 0.1937931365549321+2.3309746530493123i
> > [1.2  <text/html; ISO-8859-1 (quoted-printable)>]
> >
> > [2  <text/plain; us-ascii (7bit)>]
> > ____________________
> >   Racket Users list:
> >   http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120727/f5527394/attachment.html>

Posted on the users mailing list.