Difference between revisions of "Implementation of INT()"

From ArcoWiki
Jump to: navigation, search
m (1 revision imported)
 
Line 10: Line 10:
 
  integer_number=[[Assign|ASSIGN]]/INT(decimal_number)
 
  integer_number=[[Assign|ASSIGN]]/INT(decimal_number)
 
  $$ Also Return "1"
 
  $$ Also Return "1"
 +
 +
[[it:Implementazione di INT ()]]
 +
[[zh-cn:INT()的实现]]
 +
[[pt:Implementação do INT ()]]
 +
[[de:Implementierung von INT ()]]
 +
[[es:Implementación de INT ()]]
 +
[[en:Implementation of INT()]]
  
 
[[Category:ReadMe3.2.30]]
 
[[Category:ReadMe3.2.30]]

Latest revision as of 09:28, 7 June 2018

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"