< (less than)

本参考资料用于Processing 3.0+。 如果你使用的是前一版本,请在使用软件帮助菜单内的参考资料。. If you see any errors or have suggestions, please let us know. If you prefer a more technical reference, visit the Processing Core Javadoc and Libraries Javadoc.

名称

< (less than)

示例

int
a = 22;

int b = 23;

if (a < b)
{  
println("variable a is less then variable b ");


  } 
描述 Tests if the value on the left is smaller than the value on the right.
语法
 value1 < value2 
参数
value1 int,float, char, or byte
value2 int,float, char, or byte
相关 > (greater than)
>= (greater than or equal to)
<= (less than or equal to)
== (equality)
!= (inequality)

Updated on October 2, 2018 05:02:16pm EDT

< (less than)