Class ArithmeticFunctions

java.lang.Object
org.apache.juneau.commons.svl.functions.ArithmeticFunctions

public final class ArithmeticFunctions extends Object
Arithmetic functions for the #{...} script catalog.

All operations work on double so integer and decimal inputs compose naturally; the result renders as a String. Integer-perfect results omit the decimal point (e.g. add(2, 3) returns "5", not "5.0").

  • Field Details

    • ALL

      public static final Class<? extends VarFunction>[] ALL
      All function classes in this category.