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

Breadcrumb

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

function BigNumber::newBigInteger

Proxy method to access BigInteger's protected constructor from sibling classes.

@internal @psalm-pure

3 calls to BigNumber::newBigInteger()
BigDecimal::getUnscaledValue in vendor/brick/math/src/BigDecimal.php
BigDecimal::toBigInteger in vendor/brick/math/src/BigDecimal.php
Converts this number to a BigInteger.
BigDecimal::toBigRational in vendor/brick/math/src/BigDecimal.php
Converts this number to a BigRational.

File

vendor/brick/math/src/BigNumber.php, line 178

Class

BigNumber
Common interface for arbitrary-precision rational numbers.

Namespace

Brick\Math

Code

protected final function newBigInteger(string $value) : BigInteger {
    return new BigInteger($value);
}

API Navigation

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