• add()

    Returns the sum of its parameters

  • ceil()

    Rounds a number up to the nearest integer

  • div()
  • floor()

    Rounds a number down to the nearest integer

  • int()

    Converts a number into an integer

  • max()

    Returns the larger of two values

  • min()

    Returns the lesser of two values

  • mod()

    Returns the remainder of a division

  • mult()

    Returns the product of two values

  • num()

    Converts an object (string etc.) into a number

  • quot()

    Returns the quotient of two values

  • rint()

    Rounds a number to the nearest integer

  • round()

    Rounds a number to a given number of decimal places

  • subt()

    Substracts a value from another

About this article
Last change 2017-02-24
Topics FrontendFunctionsStructr 2.0