Sqr Function

Tips >>ASP Functions

WANTS TO MAKE SOFTWARE WITHOUT KNOWLEDGE OF ASP? CLICK HERE

The Sqr function returns the square root of a number. The number argument can be any valid numeric expression greater than or equal to 0. The Sqr function returns the square root of a positive number.

Note :- The number parameter cannot be a negative value.

The Syntax of the Sqr function is :-

Sqr(number)

Its Description is :-

Parameter Description
number
Required. A valid numeric expression >= 0

Example#1 :-

Code :-
document.write(Sqr(9))
Output :-
3

Example#2 :-

Code :-
document.write(Sqr(0))
Output :-
0

Example#3 :-

Code :-
document.write(Sqr(47))
Output :-

6.85565460040104

Example#4 :-

Code :-
document.write(Sqr(4))
Output :-
2

Example#5 :-

Code :-
document.write(Sqr(23))
Output :-
4.79583152331272

Example#6 :-

Code :-
document.write(Sqr(0))
Output :-
0

Example#7 :-

Code :-
document.write(Sqr(123.456789))
Output :-
11.1111110605556

 

 
E-mail : sales@virtualsplat.com
Phone : +91-9892413501

Whatsapp Icon +91-9967648641

Whatsapp Icon +91-9967648641