>= (greater than or equal to)


If the number val1 is greater than or equal to val2, the string returns 1; otherwise, it returns 0.


$(>=, val1, val2)

 

Examples


 

Code Returns Remark
$(>=,30,2) 1

 

$(>=,30,30) 1

 

$(>=,30,30.5) 0

 

$(>=,1,2,3) $(>=,??) error: only 2 arguments allowed
$(>=,1.23,a) $(>=,??) error: both arguments should be numeric

 

 

See also...

DIESEL functions


© Bricsys NV. All rights reserved.