vipsi - the friendly vip script interpreter

Operators

Remainder "%"

<number> = <number> % <number>

Operators: Remainder with Variable "%="
Operators: Remainder "%"
Remainder
of Flow control: if … then
Flow control: try … then
the
division of two numerical Glossary: Valuevalues.

Operators: Divide with Variable "/="
Operators: Divide "/"
Divide
two numerical Glossary: Valuevalues Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Glossary: text, text_valtext values, which are converted to Data Types: Numbersnumbers, Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Flow control: returnreturn Flow control: if … then
Flow control: try … then
the
Operators: Remainder with Variable "%="
Operators: Remainder "%"
remainder
of Flow control: if … then
Flow control: try … then
the
division. Results in a Glossary: number, num_valnumber. Flow control: if … thenIf one Glossary: Operator
Glossary: Operand
operand
is a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
, Flow control: if … then
Flow control: try … then
the
result is a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
, where Flow control: if … then
Flow control: try … then
the
operation was applied to all items. Flow control: if … thenIf both are Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
lists
, they must Numeric functions: matchmatch in size Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Flow control: if … then
Flow control: try … then
the
operation is applied to all matching items.

e.g.:

vipsi> 21.5%2.5  = 1.5
vipsi> Instructions: putput {33,21}%5  = { 3, 1 }
vipsi> Instructions: putput {36,27}%{5,10}  = { 1, 7 }
vipsi>  
Other usage

'%' is also used for Integer numbers: Binary
Floating point: Binary
Text functions: binstr
binary
Literals: Number literals
Numbers: Number literals
number literals
.

e.g.:

i -%0101.1  o> = -5.5

Valid HTML   Valid CSS