Method

squareRoot — finds the square root of a number.

Description

Square root of a number A is a number B such that B^2 = A. In other words, a number B whose square (the result of multiplying the number by itself, or Bâ‹…B) is A.
The number of arguments for this method is one.

Structure of the method:

squareRoot(A)

Parameters

A — This parameter should be a number

Examples
{% set result= squareRoot(9) %}
{{result}}

//Output: 3

To stay updated with the latest features, news and how-to articles and videos, please join our group on Facebook, Flexie CRM Academy.