Skip to content
Prev 325568 / 398503 Next

Problem with the mod function %%

Hi Benjamin,
Thanks for pointing that out.
Sorry, didn't read the question carefully.
(0.1%%1)-0.1
#[1] 0
?(1.1%%1)-0.1
#[1] 8.326673e-17

(1%%1.1)
#[1] 1


A.K.
Message-ID: <1371571689.12016.YahooMailNeo@web142603.mail.bf1.yahoo.com>
In-Reply-To: <CAKdEGU8+_G8TjKFDgXQZtvTw03PYpZV_PFH1ceOd+i8Ugy50NQ@mail.gmail.com>