I am sorry for the stupid question but I am struggling with simple problem. What is elegant way of achieving this.
I have 2 values minimum and ma