Troncato
When applied to a number or an array of numbers, Truncated produces an integer by rounding the number towards zero or an array each element of which is the integer obtained by rounding towards zero the corresponding element of the input array, respectively.
It has two variables: in and out.
Struttura (per scalari):
in entrata diventa in entrata arrotondato verso lo zero
Esempo:
2.5 diventa 2
-5.1 diventa -5
(2.5, -5.1) diventa (2, -5)
Argomenti correlati:
Elementi di base di un modello Composto
Elementi di un Modello Composto speciale
Copyright University of Twente 2011
|