Re: (dsssl) format-number

Subject: Re: (dsssl) format-number
From: Jany Quintard <jany.quintard@xxxxxxx>
Date: Thu, 24 Apr 2003 12:00:20 +0200
* Jany Quintard [Thu, 24/04/2003 at 11:33 +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.
I stopped too soon. The format-number-list is said to work on a list of
*integers*. 
So format-number is probably designed to work on "ordinal" numbers.

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)
        • Jany Quintard - Thu, 24 Apr 2003 05:55:57 -0400 (EDT) <=
      • <Possible follow-ups>
      • tmcd - Thu, 24 Apr 2003 11:16:33 -0400 (EDT)