# SQR()

## Effect

Returns the square root of a variable.

## Syntax

`SQR(<Variable>)`

## Parameter

`<Variable>` must be a numeric variable or a value between 0 and 65535.

## Example

```basic
10 PRINT "The square root of 16 is ";SQR(16)
20 PRINT "The square root of 64 is ";SQR(64)
 
RUN
The square root of 16 is 4
The square root of 64 is 8
```

## Compatibility

MSX-BASIC 1.0 or higher

## Source

Retrieved from "https://www.msx.org/wiki/SQR()"
