Implementierung von INT ()

Aus ArcoWiki
Version vom 7. Juni 2018, 09:29 Uhr von Slia (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „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……“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

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"