Skip to main content
Version: v6.7.0

Get-Cosine

Command Description​

Get the cosine value of the attribute dNum

Command Prototype​

dRet = Math.Cos(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.Cos (30)
TracePrint (dRet)
/**
dRet ≈ 0.15425144988758
*/