Skip to main content
Version: v6.7.0

Get-Absolute

Command Description​

Get the absolute value of a value

Command Prototype​

dRet = Math.Abs(dNum)

Parameter Description​

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