Skip to content

Problem with the mod function %%

1 message · arun

#
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.