[REBOL] Re: Limiting Precision of Decimals,
From: greggirwin:mindspring at: 24-May-2002 21:37
Hi Louis,
<< Thanks! But I haven't been able to figure out how to use it. Would you
please give me a sample usage? >>
DOH! I was going to post a simple reply, but it appears you've outsmarted
me. :) If there's only a decimal component, and the value is <~.1, REBOL
returns it with scientific notation. E.g.
>> round/places/truncate 1.0659262575231111 8
== 1.06592625
>> round/places/truncate .0659262575231111 8
== 6.592625E-2
I'll have to think about this. I'm not sure that I want to scale things
internally to work around this issue. Obviously, it should work for all
extremes so that's what we'll have to test for in a redesign. Guess it won't
work for you right now though. Sorry about that. But, thanks for finding the
bug! :)
Anyone else listening in? Any thoughts?
--Gregg