Options
All
  • Public
  • Public/Protected
  • All
Menu

Module divide

Index

References

Functions Math

References

Renames and re-exports divide

Math Functions

  • divide(dividend: number, divisor: number): number
  • Divide two numbers.

    since

    5.12.0

    example
    divide(6, 4)
    // => 1.5

    Parameters

    • dividend: number

      The first number in a division.

    • divisor: number

      The second number in a division.

    Returns number

    Returns the quotient.