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

Breadcrumb

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

function BigNumber::toBigInteger

Converts this number to a BigInteger.

Throws

RoundingNecessaryException If this number cannot be converted to a BigInteger without rounding.

3 methods override BigNumber::toBigInteger()
BigDecimal::toBigInteger in vendor/brick/math/src/BigDecimal.php
Converts this number to a BigInteger.
BigInteger::toBigInteger in vendor/brick/math/src/BigInteger.php
Converts this number to a BigInteger.
BigRational::toBigInteger in vendor/brick/math/src/BigRational.php
Converts this number to a BigInteger.

File

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

Class

BigNumber
Common interface for arbitrary-precision rational numbers.

Namespace

Brick\Math

Code

public abstract function toBigInteger() : BigInteger;

API Navigation

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