Re: [CS3304_1381] rational answers

New Message Reply About this list Date view Thread view Subject view Author view

Mark Hinkle (mhinkle@VT.EDU)
Sat, 4 Mar 2000 18:48:36 -0500


Message-ID:  <Pine.LNX.4.21.0003041848030.1113-100000@localhost.localdomain>
Date:         Sat, 4 Mar 2000 18:48:36 -0500
From: Mark Hinkle <mhinkle@VT.EDU>
Subject:      Re: [CS3304_1381] rational answers

Use this:

to get float -- (exact->inexact (/ 6 4))

Mark

On Sat, 4 Mar 2000, J. Spencer L. Kerns wrote:

> The results of for a rational expression are returned by my function
> calls in rational form. This is great since I had an interesting time
> achieving this result in Pascal. I do however need the decimal value of
> the rational for the output. Does anyone know of a scheme function that
> will force the rational into decimal for for output?
>
> --
> J. Spencer L. Kerns
> jkerns@vt.edu
>
> "How do you feel?"
>


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Sat Mar 04 2000 - 18:44:41 EST