Skip to main content

Get-Square-Root

Command Description

Get the square root value of the attribute dNum

Command Prototype

dRet = Math.Sqr(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.Sqr(4)
TracePrint (dRet)
/**
dRet = 2.0
*/