Arrotondato
When applied to a number or an array of numbers, Rounded produces the integer nearest to the number or an array each element of which is the integer nearest to the corresponding element of the input array, respectively.
It has two variables: in and out.
Struttura (per scalari):
in entrata diventa (in entrata + 0.5) troncato
Esempo:
2.5 diventa 3
-5.1 diventa -5
(2.5, -5.1) diventa (3, -5)
Argomenti correlati:
Elementi di base di un modello Composto
Elementi di un Modello Composto speciale
Copyright University of Twente 2011
|