Get-Absolute
Command Description
Get the absolute value of a value
Command Prototype
dRet = Math.Abs(dNum)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
dNum | True | number | 0 | The data to process |
return
dRet,The variable used to save the output of the command.
Demo
Dim dRet
dRet = Math.Abs(-1.23)
TracePrint (dRet)
/**
dRet = 1.23
*/