POV-Ray : Newsgroups : povray.newusers : scientific notation : Re: scientific notation Server Time
10 Oct 2025 16:28:06 EDT (-0400)
  Re: scientific notation  
From: kurtz le pirate
Date: 5 Oct 2025 05:18:07
Message: <68e237cf$1@news.povray.org>
On 24/09/2025 18:08, Kenneth wrote:
> "Bald Eagle" <cre### [at] netscapenet> wrote:
>> "Kenneth" <kdw### [at] gmailcom> wrote:
>>
>>> #local Exponent = int(floor(log(abs(Num))));
>>
>> int(floor()) is redundant.
>> just use floor ()
>>
> 
> Yes indeedee it does work. I should have seen that :-|
> 
> #local Exponent = floor(log(abs(Num)));
> 
> 



Sorry for my late reply. I've had some family issues.


So, thank you for your ideas. Actually, I was thinking more of a special 
option in the str(n,l,p) function.



-- 
kurtz le pirate
compagnie de la banquise


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.