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

Breadcrumb

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

function NativeCalculator::sub

Overrides Calculator::sub

1 call to NativeCalculator::sub()
NativeCalculator::doDiv in vendor/brick/math/src/Internal/Calculator/NativeCalculator.php
Performs the division of two non-signed large integers.

File

vendor/brick/math/src/Internal/Calculator/NativeCalculator.php, line 71

Class

NativeCalculator
Calculator implementation using only native PHP code.

Namespace

Brick\Math\Internal\Calculator

Code

public function sub(string $a, string $b) : string {
    return $this->add($a, $this->neg($b));
}

API Navigation

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