The =BETWEEN?() function
The =BETWEEN?([
(Use the BETWIXT? function to exclude the boundaries)
=BETWEEN?(10 ,5 ,15 ) ->TRUE =BETWEEN?(10 ,10 ,15 ) ->TRUE =BETWEEN?(10 ,12 ,15 ) ->FALSE
DEFINE(
BETWEEN?,
LAMBDA(
number_to_check ,
lower_bound ,
upper_bound ,
AND(
GTE?(
number_to_check ,
lower_bound ),
LTE?(
number_to_check ,
upper_bound ))))
Help us optimize this function!