API Reference
Log In
API Reference

Divide

The divide function takes two variables as parameters and returns the result of the division of the first variable by the second.

Syntax

divide(x, y)

Parameters

  • x: The numerator of the division.
  • y: The denominator of the division.

Examples

divide(10, 5) => 2
divide(100, 10) => 10
divide(1000, 100) => 10

Named Parameters

This function does not accept any named parameters.

Returns

The divide function returns a numerical value representing the result of the division of x by y.

Is Lowercase

This function does not have any options that require lowercase input.