iOS 取区间值

candleWidth = MIN(MAX(1, candleWidth),15);   1~15

原文地址:https://www.cnblogs.com/zhangxiaozhe/p/6484786.html