A newer version of Max is available. Click here to access the latest version of the documentation

sqrt Reference

Square root function

sqrt

Description

Calculates and outputs the square-root of any given number.

Examples

Arguments

initial [int or float]

Optional

An optional argument specifies the value whose square root is to be output.

Attributes

Common Box Attributes

Messages

bang

Outputs the currently stored square root value.

int

Arguments

input [int]
A given number will cause the object to output the square root of that number. A negative input has no real solution, so it causes an output of NaN (Not a Number).

float

Arguments

input [float]
A given number will cause the object to output the square root of that number. A negative input has no real solution, so it causes an output of NaN (Not a Number).

Output

float

The square root of the input.

See Also

Name Description
expr