SQR()

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 CMM2

Syntax:
SQR( number )

Description:
Returns the square root of the argument 'number'.

Trying to find the square root of a negative number will result in an error. If that is likely, you will have to cater for imaginary numbers!


PRINT SQR(4)
PRINT SQR(0)
PRINT SQR(-4)

Output:
2
0
[4] Print Sqr(-4)
Error: Negative argument


Last edited: 05 October, 2020