SQRT Function

SQRT(a)

Returns the square root of a.

Parameters

a(REAL)

The input value.

Return Value

Returns a REAL.

Remarks

If a is negative, the task will fault. An error will be logged in the Event Log and the user program running on the task will stop.

Examples

SQRT(100.0) returns 10.0.

SQRT(2.0) returns 1.4142135.

 

See Also

Standard Functions


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion