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\MathCode
public abstract function __toString() : string;