The upper input value is 1.21 and the lower is 0.2 in the first image and 0.22 in the second.
My thinking is that the upper limit should be the input values rounded (up or down) to the next significant integer, ten, hundred, etc., depending on its size
Example
Max input = 3.45, max limit sets 4
Max input = 34.5, max limit sets 40
Max input = 345, max limit sets 400
Min input = 3.45, min limit sets 3
Min input = 34.5, min limit sets 30
Min input = 345, min limit sets 300
I hope this helps

