Re: (dsssl) Choices, choices

Subject: Re: (dsssl) Choices, choices
From: Jany Quintard <jany.quintard@xxxxxxx>
Date: Thu, 24 Apr 2003 11:33:22 +0200
* tmcd@xxxxxxxxx [Wed, 23/04/2003 at 15:51 -0400]
> Is there any reason to choose between
>     (format-number N "1")
> and
>     (number->string N)
> ?

I always assumed that "format-number" was designed to transform exact
numbers, as for lists or such things.
after reading the spec (8.5.7.24. Number to String Conversion),
I see there seems to be no reason for this.
Did you test the format-number on a decimal number such as 2.71828?

Jany

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread
  • (dsssl) Choices, choices
    • tmcd - Wed, 23 Apr 2003 15:46:55 -0400 (EDT)
      • Jany Quintard - Thu, 24 Apr 2003 05:20:03 -0400 (EDT)
      • Jany Quintard - Thu, 24 Apr 2003 05:29:00 -0400 (EDT) <=
      • <Possible follow-ups>
      • tmcd - Thu, 24 Apr 2003 11:16:33 -0400 (EDT)