%Trunc function


Function
The function trims the decimal part of a real number.
Declaration
REAL %Trunc(
   REAL in number
 )
Parameters
numberFunction argument.
Example
 REAL _A
 
 _A := %Trunc(15.237123)
 
 ; (_A is 15)
Napíšte komentár