POV-Ray : Newsgroups : povray.newusers : scientific notation Server Time
10 Oct 2025 13:11:30 EDT (-0400)
  scientific notation (Message 11 to 11 of 11)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: kurtz le pirate
Subject: Re: scientific notation
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

<<< Previous 10 Messages Goto Initial 10 Messages

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