> 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,
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
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
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
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
> 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
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:
> 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
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