Implementação do INT ()

Da wiki ArcoWiki
Revisão em 09h29min de 7 de junho de 2018 por Slia (Discussão | contribs) (Criou a página com "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,d...")
(dif) ← Revisão anterior | Revisão atual (dif) | Revisão seguinte → (dif)
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"