Whenever I need to clamp a number between a `min` and a `max`, it takes me ages to convince myself this implementation is correct. But yeah, it's easy! I just want the min of the max of the num and the min and the max.
66
99
32
864
The min of the max of the num and the min and the max. A licky boom boom down.
13
1
1
122
"@jaffathecake I actually don't have a problem reading that because I am very smart" yes well done mate thanks for getting in touch
7
1
1
183
Why not just create an utility? Much more readable

Aug 21, 2020 路 4:01 AM UTC