exp

This block is part of the math group and was last modified in core v13.0.7.

exp v13.0.7

Returns the value of E raised to the power of a number

In pins 1
  • number_0 required
    number
Out pins 1
  • Number
    number

Outputs e raised to the power number_0. Numeric strings and booleans coerce; a wired non-numeric value counts as 0 (so exp -> 1), and an unwired or nil pin writes nothing to the output. Example: number_0=1 -> 2.718281828459045.

A typical wiring for Exp: the number out pin feeds cast to value.

Studio canvas example for the Exp block: typical wiring for Exp.

Version history

Introduced in v13.0.7.


Back to math Return to the main group to view all sub-groups Back to number: static methods Return to the group to view all blocks within this group