Class SqrtFunction

  • All Implemented Interfaces:
    Function, Serializable

    public class SqrtFunction
    extends FunctionBase
    implements Function
    http://docs.jsonata.org/numeric-functions.html $sqrt(number) Returns the square root of the value of the number parameter. If number is not specified (i.e. this function is invoked with one argument), then the context value is used as the value of number. An error is thrown if the value of number is negative. Examples $sqrt(4)==2 $sqrt(2)==1.414213562373
    See Also:
    Serialized Form