4 ms·I'd probably go for 4 if() checks, some 'less than'/'greater than'/'&&' checks should do it.by throwaway29292 9y agoI'd probably go for 4 if() checks, some 'less than'/'greater than'/'&&' checks should do it.