Processing, <= (less than or equal to)
用法介紹。
用法
value1 <= value2
參數
value1
int、float、char 或 bytevalue2
int、float、char 或 byte
說明
測試左邊的值是否小於右邊的值或者這些值是否相等。
例子
int a = 22;
int b = 23;
if (a <= b) {
println("variable a is less or equal to variable b ");
}
相關用法
- Processing < (less than)用法及代碼示例
- Processing << (left shift)用法及代碼示例
- Processing FFT用法及代碼示例
- Processing SawOsc.pan()用法及代碼示例
- Processing FloatDict用法及代碼示例
- Processing FFT.stop()用法及代碼示例
- Processing join()用法及代碼示例
- Processing () (parentheses)用法及代碼示例
- Processing Pulse用法及代碼示例
- Processing PShader用法及代碼示例
- Processing PVector.set()用法及代碼示例
- Processing FloatDict.sortKeysReverse()用法及代碼示例
- Processing texture()用法及代碼示例
- Processing IntDict.add()用法及代碼示例
- Processing PShape.enableStyle()用法及代碼示例
- Processing FloatDict.sub()用法及代碼示例
- Processing String用法及代碼示例
- Processing PImage.pixels[]用法及代碼示例
- Processing vertex()用法及代碼示例
- Processing PVector.mag()用法及代碼示例
- Processing thread()用法及代碼示例
- Processing Capture.stop()用法及代碼示例
- Processing Env.play()用法及代碼示例
- Processing StringList用法及代碼示例
- Processing parseJSONArray()用法及代碼示例
注:本文由純淨天空篩選整理自processing.org大神的英文原創作品 <= (less than or equal to)。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。