Skip to content

Releases: elliotjreed/php-maths

7.0.0

Choose a tag to compare

@elliotjreed elliotjreed released this 15 Dec 11:33
524348b

Minimum PHP version now 8.2.

6.2.0

Choose a tag to compare

@elliotjreed elliotjreed released this 16 Dec 07:53
8f1ec5f

Allows Number and NumberImmutable in method types for each.

6.1.1

Choose a tag to compare

@elliotjreed elliotjreed released this 03 Dec 22:20
0ec0638

Internal string number formatting improvements

6.1.0

Choose a tag to compare

@elliotjreed elliotjreed released this 03 Dec 21:09
b62c9d7

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

6.0.0

Choose a tag to compare

@elliotjreed elliotjreed released this 03 Dec 18:53
d674e18

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

Choose a tag to compare

@elliotjreed elliotjreed released this 03 Dec 15:47
400efef

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

4.0.0

Choose a tag to compare

@elliotjreed elliotjreed released this 03 Dec 15:15
58bf0c2

Adds percentage increase and decrease methods.

3.2.0

Choose a tag to compare

@elliotjreed elliotjreed released this 02 Dec 16:58
0b99e75

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

3.1.0

Choose a tag to compare

@elliotjreed elliotjreed released this 02 Dec 16:43
bc74c0e

Extracts common functionality to abstract class

3.0.0

Choose a tag to compare

@elliotjreed elliotjreed released this 02 Dec 15:28
d9d1418

Adds NumberImmutable class returning new instances of NumberImmutable.