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

Breadcrumb

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

function BigNumber::__toString

Returns a string representation of this number.

The output of this method can be parsed by the `of()` factory method; this will yield an object equal to this one, without any information loss.

1 call to BigNumber::__toString()
BigNumber::jsonSerialize in vendor/brick/math/src/BigNumber.php
3 methods override BigNumber::__toString()
BigDecimal::__toString in vendor/brick/math/src/BigDecimal.php
Returns a string representation of this number.
BigInteger::__toString in vendor/brick/math/src/BigInteger.php
Returns a string representation of this number.
BigRational::__toString in vendor/brick/math/src/BigRational.php
Returns a string representation of this number.

File

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

Class

BigNumber
Common interface for arbitrary-precision rational numbers.

Namespace

Brick\Math

Code

public abstract function __toString() : string;

API Navigation

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