% function:
-
Can also be called as
mod -
Can also be called as
modulo -
Can also be called as
reminder
Find the reminder of the division of the firs argument by the second argument. If the second argument is 0 will return nothing
Examples:
- running:
(% 5, 3)will give:2
- running:
(% 7, 2)will give:1
- running:
(% 7, 0)will return nothing Because Can not divide by zero.
- running:
(% 10, 7.5)will give:2.5
- running:
(% 10, -7)will give:3
- running:
(% -10, 7)will give:-3
- running:
(% -10, -7)will give:-3
- running:
(% 7, false)will return nothing
- running:
(% [1], 4)will return nothing