powered by
Encases two numbers between multiples of a given number
encase(x1, x2, n)
the first value of the interval
the second value of the interval (can be higher or lower, but never equal to x1)
the number to find the multiples from
the multiples of n directly encompassing x1 and x2
Similar function : casing
casing
# NOT RUN { encase(5,1,5) # }
Run the code above in your browser using DataLab