mirror of
https://github.com/danog/math.git
synced 2024-11-26 20:04:46 +01:00
parent
a4a86af733
commit
6c094344b6
@ -138,7 +138,7 @@ echo $ten->multipliedBy(3); // 30
|
|||||||
The methods can be chained for better readability:
|
The methods can be chained for better readability:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
echo BigInteger::of(10)->plus(5)->multipliedBy(3); // 30
|
echo BigInteger::of(10)->plus(5)->multipliedBy(3); // 45
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Parameter types
|
#### Parameter types
|
||||||
@ -234,4 +234,4 @@ echo BigRational::of('123/456')->dividedBy('9/8'); // 984/4104
|
|||||||
even if these machines do not share the same set of PHP extensions.
|
even if these machines do not share the same set of PHP extensions.
|
||||||
|
|
||||||
For example, serializing on a machine with GMP support and unserializing on a machine that does not have this extension
|
For example, serializing on a machine with GMP support and unserializing on a machine that does not have this extension
|
||||||
installed will still work as expected.
|
installed will still work as expected.
|
||||||
|
Loading…
Reference in New Issue
Block a user