By default the floor function always rounds down and the ceil function always rounds up to the nearest ‘1’
How would I round down/up to the nearest 20, or the nearest 1,000?
Say I had a number x and a factor y.
I want to find the closest factor of y to x.
I am using this to find maximum and minimum values for a graph. Thanks.
Simple: