Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DivisionByZeroException.php

function DivisionByZeroException::divisionByZero

@psalm-pure

9 calls to DivisionByZeroException::divisionByZero()
BigDecimal::dividedBy in vendor/brick/math/src/BigDecimal.php
Returns the result of the division of this number by the given one, at the given scale.
BigDecimal::exactlyDividedBy in vendor/brick/math/src/BigDecimal.php
Returns the exact result of the division of this number by the given one.
BigDecimal::quotient in vendor/brick/math/src/BigDecimal.php
Returns the quotient of the division of this number by the given one.
BigDecimal::quotientAndRemainder in vendor/brick/math/src/BigDecimal.php
Returns the quotient and remainder of the division of this number by the given one.
BigDecimal::remainder in vendor/brick/math/src/BigDecimal.php
Returns the remainder of the division of this number by the given one.

... See full list

File

vendor/brick/math/src/Exception/DivisionByZeroException.php, line 15

Class

DivisionByZeroException
Exception thrown when a division by zero occurs.

Namespace

Brick\Math\Exception

Code

public static function divisionByZero() : DivisionByZeroException {
    return new self('Division by zero.');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal