Re: lost adding float
- From: gtasso@xxxxxxxxxx
- Date: 6 Dec 2006 15:48:30 -0800
On Dec 7, 10:33 am, "John Thingstad" <john.things...@xxxxxxxxx> wrote:
Seems reasonable to me. That is scientific notation.
6.846504e+7 means 6.846504 * 10^7= 6.846504 * 10000000 = 68456040
coming from vb where all things are wraped up. it would certainly take
sometime to get the lisp way - thanks.
What did you use to print the value:
store to a variabe call total and evaluated at repl - no wonder
thanks i'll see if i can work on a function that will convert any
CL-USER 7 > (format t "~&~7F~%" (with-input-from-string (is "6.846504e+7")
scientific notation to decimal numbers using format.
Many thanks
George
.
- Follow-Ups:
- Re: lost adding float
- From: Barry Margolin
- Re: lost adding float
- References:
- lost adding float
- From: gtasso
- Re: lost adding float
- From: John Thingstad
- lost adding float
- Prev by Date: Re: flattening a nested list functionally
- Next by Date: Re: Common Lisp from a Unix perspective - barriers to using CL
- Previous by thread: Re: lost adding float
- Next by thread: Re: lost adding float
- Index(es):
Relevant Pages
|