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
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
dNum | True | number | 0 | The 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
*/