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

Breadcrumb

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

function Calculator::divQ

Returns the quotient of the division of two numbers.

Parameters

string $a The dividend.:

string $b The divisor, must not be zero.:

Return value

string The quotient.

1 call to Calculator::divQ()
Calculator::gcdExtended in vendor/brick/math/src/Internal/Calculator.php
3 methods override Calculator::divQ()
BcMathCalculator::divQ in vendor/brick/math/src/Internal/Calculator/BcMathCalculator.php
Returns the quotient of the division of two numbers.
GmpCalculator::divQ in vendor/brick/math/src/Internal/Calculator/GmpCalculator.php
Returns the quotient of the division of two numbers.
NativeCalculator::divQ in vendor/brick/math/src/Internal/Calculator/NativeCalculator.php
Returns the quotient of the division of two numbers.

File

vendor/brick/math/src/Internal/Calculator.php, line 184

Class

Calculator
Performs basic operations on arbitrary size integers.

Namespace

Brick\Math\Internal

Code

public abstract function divQ(string $a, string $b) : string;

API Navigation

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