numeric →
divide(
    value: numeric
) → numeric

Returns the argument number divided by the parameter value. If the parameter value is 0, it returns null.

Parameters

Name Type Required Description
value numeric Yes The value to divide the argument value.

Argument evaluation

  • value: Evaluated in the enclosing context to check for zero, then evaluated again for division when the first result is nonzero.

Examples

10 | divide(5)  2

Kind: Function
Scope: numeric/arithmetic
Aliases: numeric-to-divide


This site uses Just the Docs, a documentation theme for Jekyll.