[REBOL] Re: "scientific notation"
From: carl:cybercraft at: 10-Jan-2003 9:06
On 10-Jan-03, Bohdan or Rosemary Lechnowsky wrote:
> This whole thing with Scientific Notation is related to the math
> libraries on your system. AFAIR, Rebol does not have its own
> in-built math libraries...it depends on the ones provided by the
> system (one of the few things Rebol doesn't have its own in-built
> libraries for). I'd agree that Windows is rather lame in using
> Scientific Notation after only two decimal places, but that is an
> issue with the Windows math libraries, not Rebol.
I'd say it's an issue with REBOL, if REBOL's supposed to be a
cross-platform language. I don't want to have consider which OS a
script will be running on when I'm writing it, or write work-arounds
for known differences.
If REBOL for whatever reason can't have its own maths libraries,
couldn't it at least convert decimals to a consistant format when we
need to process them at the text level?
> At 07:56 AM 1/9/03 +1300, you wrote:
>> On 09-Jan-03, Charles wrote:
>>> Errrm.
>>>>> 1 / 100
>>> == 1E-2
>>> I don't want that. I want decimal. Even to-decimal doesn't give
>>> me a decimal. I don't want to deal with E's. How?
>> I get...
>>>> 1 / 10
>> == 0.1
>>>> 1 / 100
>> == 0.01
>>>> 1 / 1000
>> == 0.001
>>>> 1 / 10000
>> == 0.0001
>>>> 1 / 100000
>> == 1E-5
>> There must be a setting you've changed to get an E at 1 / 10. How
>> you change it though I wouldn't know...
>> --
>> Carl Read
--
Carl Read