|
<number> = <number> % <number>
Operators: Remainder with Variable "%=" Operators: Remainder "%"Remainder of Flow control: if … then Flow control: try … thenthe 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 … thenthe Operators: Remainder with Variable "%=" Operators: Remainder "%"remainder of Flow control: if … then Flow control: try … thenthe division. Results in a Glossary: number, num_valnumber. Flow control: if … thenIf one Glossary: Operator Glossary: Operandoperand is a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist, Flow control: if … then Flow control: try … thenthe result is a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist, where Flow control: if … then Flow control: try … thenthe operation was applied to all items. Flow control: if … thenIf both are Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallists, 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 … thenthe 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>
'%' is also used for Integer numbers: Binary Floating point: Binary Text functions: binstrbinary Literals: Number literals Numbers: Number literalsnumber literals.
e.g.:
i -%0101.1 o> = -5.5
| |