Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger

Name

rund()

Examples
Komazahl  x = 9.2;  
Ganzizahl rx = rund(x);  // Sets rx to 9

Komazahl  y = 9.5;
Ganzizahl ry = rund(y);  // Sets ry to 10

Komazahl  z = 9.9;
Ganzizahl rz = rund(z);  // Sets rz to 10
Description Calculates the integer closest to the value parameter. For example, rund(9.2) returns the value 9.
Syntax
rund(value)
Parameters
value Komazahl
Usage Web & Application
Related abrunde()
rund_uf()
Stefan Baltensperger 2009

Creative Commons License