Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby square root

Syntax: Math.sqrt(value)

Parameters: The function accepts one mandatory parameter value whose square root is to be returned.

Return Value: It returns the square root of the value.

puts Math.sqrt(4096)
 
PREVIOUS NEXT
Tagged: #ruby #square #root
ADD COMMENT
Topic
Name
5+9 =