Skip to main content
Version: v6.5.0

Get-Integer-Part

Command Description​

Get an integer part of the attribute dNum. In case of negative numbers, get the floor value

Command Prototype​

iRet = Math.Int(dNum)

Parameter Description​

ParameterRequiredTypeDefaultDescription
dNumTruenumber0The data to process

return​

iRet,The variable used to save the output of the command.

Demo​

Dim iRet 
iRet Math.Int(2.1)
TracePrint(iRet)
/**
iRet 2
*/