Skip to content

Releases: elliotjreed/php-maths

7.0.0

15 Dec 11:33
524348b
Compare
Choose a tag to compare

Minimum PHP version now 8.2.

6.2.0

16 Dec 07:53
8f1ec5f
Compare
Choose a tag to compare

Allows Number and NumberImmutable in method types for each.

6.1.1

03 Dec 22:20
0ec0638
Compare
Choose a tag to compare

Internal string number formatting improvements

6.1.0

03 Dec 21:09
b62c9d7
Compare
Choose a tag to compare

Allows Number and NumberImmutable to take instances of Number and NumberImmutable`.

6.0.0

03 Dec 18:53
d674e18
Compare
Choose a tag to compare

Improves handling of floats and internal string numbers, adds support for scientific notation, and throws exception when a non-numeric argument is provided.

5.0.0

03 Dec 15:47
400efef
Compare
Choose a tag to compare

Adds division by zero exception for the divide method, and improves PHPDoc comments.

4.0.0

03 Dec 15:15
58bf0c2
Compare
Choose a tag to compare

Adds percentage increase and decrease methods.

3.2.0

02 Dec 16:58
0b99e75
Compare
Choose a tag to compare

Retains precision from original NumberImmutable instance when returning new NumberImmutable instance.

3.1.0

02 Dec 16:43
bc74c0e
Compare
Choose a tag to compare

Extracts common functionality to abstract class

3.0.0

02 Dec 15:28
d9d1418
Compare
Choose a tag to compare

Adds NumberImmutable class returning new instances of NumberImmutable.