sqr()

Function group Execute on client Platform(s)
Number YES All

Syntax

sqr(number)

Description

Returns the square root of a number. Omnis defines the square root of a negative number X as sqr(abs(X)).

Example

Calculate lResult as sqr(100)
; returns 10


Calculate lResult as sqr('-301.56')
; returns 17.37 approx


Calculate lResult as mid('Omnis',sqr(16),2)
; returns 'is'