For example: a is not smaller than b
How do i write this ?
if ($a >= $b)
if !($a < $b)
Having an exclamation point outside of the condition causes a syntax error, doesn't it?
if(!($a < $b))
"IF NOT A SMALLER THAN B"
Makes the most linguistic sense compared to their question.
If a is not smaller than b, a is either greater than or equal to b so:
$a >= $b
!($a<$b)
Or simply
$a>=$b
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With