vipsi - the friendly vip script interpreter

Functions

Numeric functions

round

<number> = Numeric functions: roundround <number>
<number> = Numeric functions: roundround ( <number> )

Numeric functions: roundRound to nearest. xx.5 Numeric functions: roundrounds upwards.

As with all Vipsi command syntax: Functions
Functions
Glossary: Function
functions
which accept exactly one Vipsi command syntax: Arguments
Glossary: Arguments
argument
Flow control: if … then
Flow control: try … then
the
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 … then
if the
Vipsi command syntax: Arguments
Glossary: Arguments
argument
is no Vipsi command syntax: Expressions
Glossary: Expression
expression
with Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
.

e.g.:

vipsi> Numeric functions: roundround Constants: pipi  = 3
vipsi> Numeric functions: roundround 0.5  = 1
vipsi> Numeric functions: roundround -0.5  = 0
vipsi>  

Valid HTML   Valid CSS