Skip to main content

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
*/