mber> = Numeric functions: intint <number>
mber> = Numeric functions: intint ( <number> )
Flow control: returnReturn integral part of a numeric Glossary: Valuevalue.
Flow control: if … then Flow control: try … thenThe integral part of a Glossary: number, num_valnumber has Flow control: if … then Flow control: try … thenthe same Glossary: number, num_valnumber Numeric functions: signsign as Flow control: if … then Flow control: try … thenthe Glossary: number, num_valnumber itself. Flow control: if … then Flow control: try … thenThe fractional part is chopped off 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 returned Glossary: number, num_valnumber is rounded towards 0 (zero).
Numeric functions: intint Flow control: do … loopdoes Operators: Bitwise Not "~" Operators: Boolean Negation "!"not Text functions: convert Instructions: convertconvert Flow control: if … then Flow control: try … thenthe Glossary: number, num_valnumber to an 'integer Glossary: number, num_valnumber' as known in C, it Flow control: returnreturns Flow control: if … then Flow control: try … thenthe integral part of a Glossary: number, num_valnumber which may be much larger than a C-style 'integer Glossary: number, num_valnumber'.
As with all Vipsi command syntax: Functions Functions Glossary: Functionfunctions which accept exactly one Vipsi command syntax: Arguments Glossary: Argumentsargument Flow control: if … then Flow control: try … thenthe Separators: Round brackets "( … )" Functions with varying return types: bracket expression "()"parenthesis are optional Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and may be omitted Flow control: if … then Flow control: if … thenif the Vipsi command syntax: Arguments Glossary: Argumentsargument is no Vipsi command syntax: Expressions Glossary: Expressionexpression with Vipsi command syntax: Operators Operators Glossary: Operatoroperators.
e.g.:
vipsi> Numeric functions: intint Constants: pipi = 3
vipsi> Numeric functions: intint 0.7 0> = 0
vipsi> Numeric functions: intint -33.44 = -33
vipsi> Numeric functions: intint 50 = 50
vipsi> Numeric functions: intint 1e40 = 1e+40
vipsi>
|