Categories
Recent releases
Original PECL site
Login
Support
Bugs
PECL
Math
decimal
2.0.0
decimal 2.0.0
Correctly-rounded arbitrary precision decimal floating-point arithmetic in PHP
Correctly-rounded arbitrary precision decimal floating-point arithmetic in PHP
Download 2.0.0
Documentation
Repository
Bugtracker
Homepage
License: MIT License
Changes
- Default decimal precision changed from 28 to 34.
- Decimal operations now use the **minimum** precision of all operands.
- Added `Decimal\Rational` implementation for rational numbers (fractions).
- Added `Decimal\Number` abstract class.
- Performance improvements, reduced object allocations.
- Private constructors, static initializers via `valueOf`.