Implementação do INT ()

Da wiki ArcoWiki
Ir para: navegação, pesquisa

Implementation of the is a standard DMIS 5.2 command which return the integer part of a number truncating the value. The command is:

$$Begin Example…

DECL/DOUBLE,decimal_number
DECL/INTGR,integer_number
decimal_number= ASSIGN/1.123456
integer_number=ASSIGN/INT(decimal_number)
decimal_number= ASSIGN/1.654321
integer_number=ASSIGN/INT(decimal_number)
$$ Also Return "1"