|
|
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "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
Yeah, mode(A,B) was as close as I could find to such a function... but I didn't
work it out. It looked... complicated :-P
Nice.
Post a reply to this message
|
|