Class FormatBaseFunction

  • All Implemented Interfaces:
    Function, Serializable

    public class FormatBaseFunction
    extends FunctionBase
    implements Function
    From http://docs.jsonata.org/string-functions.html: $formatBase(number [, radix]) Casts the number to a string and formats it to an integer represented in the number base specified by the radix argument. If radix is not specified, then it defaults to base 10. radix can be between 2 and 36, otherwise an error is thrown. $formatBase(100, 2)==“1100100” $formatBase(2555, 16)=="9fb"
    See Also:
    Serialized Form