Math.sqrt

The function of “sqrt” is to return the correctly rounded positive square root of a double value.
Syntax
: math.sqrt(field_name)
Example
: math.sqrt([rental_duration])
Special cases
:
  • If the argument is NaN or less than zero, then the result is NaN.
  • If the argument is positive infinity, then the result is positive infinity.
  • If the argument is positive zero or negative zero, then the result is the same as the argument.
Otherwise, the result is the double value closest to the true mathematical square root of the argument value.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.