[REBOL] Re: Time, seconds and scientific notation

2004-02-24 Thread Ashley Trüter
> Actually, I'd consider this a REBOL problem. It's supposed to be a > cross-platform language afer all, and numbers should not come out > different on different systems. I'll second that and point to file! as a good example of how platform differences are / should be handled. Regards,

[REBOL] Re: Time, seconds and scientific notation

2004-02-24 Thread Carl Read
On 25-Feb-04, Tom Conlin wrote: > the belated but unhelpful answer you have likley heard by now is: > 'dont use windows' > since this is strictly an artifact of MS Actually, I'd consider this a REBOL problem. It's supposed to be a cross-platform language afer all, and numbers should not come

[REBOL] Re: Time, seconds and scientific notation

2004-02-24 Thread Tom Conlin
the belated but unhelpful answer you have likley heard by now is: 'dont use windows' since this is strictly an artifact of MS On Mon, 23 Feb 2004, Hallvard Ystad wrote: > > Hi list, > > This is from a console session: > >> third 0:00:01.09 > == 1.09 > >> third 0:00:0.09 > == 9E-2 > > How can

[REBOL] Re: Time, seconds and scientific notation

2004-02-24 Thread Hallvard Ystad
Dixit Carl Read (09.23 24.02.2004): >This discussion has got me experimenting a bit. Look at this, for >instance... > >>> dec: 0.1 >== 1E-5 >>> time: 1:01 >== 1:01 >>> time/second: dec >== 1E-5 >>> time >== 1:01:00.1 Well, but when you try to access only the seconds here (after doing the

[REBOL] Re: Time, seconds and scientific notation

2004-02-24 Thread Carl Read
On 24-Feb-04, Graham Chiu wrote: > Hallvard Ystad wrote.. apparently on 23-Feb-2004/21:00:15+1:00 >> Hi list, >> This is from a console session: third 0:00:01.09 >> == 1.09 third 0:00:0.09 >> == 9E-2 >> How can I have the second example printed without scientific >> notation (as secon

[REBOL] Re: Time, seconds and scientific notation

2004-02-23 Thread Ashley Trüter
> Here's a cheap Windows trick -- assuming you only want 2 decimal places: > >> print replace mold to money! .01 "$" "" > 0.01 Nice, a good candidate for the REBOL one-liner's I'd say. ;) Regards, Ashley -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with un

[REBOL] Re: Time, seconds and scientific notation

2004-02-23 Thread Hallvard Ystad
Dixit [EMAIL PROTECTED] (22.18 23.02.2004): >Hallvard: >> How can I have the second example printed without scientific notation (as >> seconds)? > >I suspect you are running under Windows. Other platforms don't go scientific >for just 2 decimal places. Windows does, even for non-time values:

[REBOL] Re: Time, seconds and scientific notation

2004-02-23 Thread Maxim Olivier-Adlhoch
> Subject: [REBOL] Re: Time, seconds and scientific notation > > > > Hallvard: > > How can I have the second example printed without > scientific notation (as > > seconds)? > > I suspect you are running under Windows. Other platforms > don't go s

[REBOL] Re: Time, seconds and scientific notation

2004-02-23 Thread SunandaDH
Hallvard: > How can I have the second example printed without scientific notation (as > seconds)? I suspect you are running under Windows. Other platforms don't go scientific for just 2 decimal places. Windows does, even for non-time values: print .01 >> print .01 1E-2 I don't think there is