POV-Ray : Newsgroups : povray.general : INQUIRY: How to Get After-Period Value : Re: INQUIRY: How to Get After-Period Value Server Time
19 Apr 2024 04:42:50 EDT (-0400)
  Re: INQUIRY: How to Get After-Period Value  
From: Bald Eagle
Date: 2 Apr 2018 08:20:01
Message: <web.5ac21eeb36b91578c437ac910@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:


mod(A,B) Value of A modulo B. Returns the remainder after the integer division
of A/B. Formula is mod=((A/B)-int(A/B))*B.

So, I'm guessing mod(A, 1) gives you the remainder.

((1.25/1) - 1) = 0.25, times 1 = 0.25


Post a reply to this message

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