dwzi/class-math

Class for Arbitrary Precision Mathematics

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/dwzi/class-math

0.2 2018-08-24 18:23 UTC

This package is not auto-updated.

Last update: 2025-10-12 11:31:55 UTC


README

Classes

  • Math (PHP functions)
  • MathBCMath (PHP bcmath extension)

Parameters

  • Pre Decimals
  • Decimals
  • Fill Character for Pre Decimals
  • Comma
  • Seperator

Functions

  • Value Format
  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Modulo
  • Exponentiation with Base and Exponent
  • Logarithm with Base and Antilogarithm
  • nth Root with Degree and Radicand
  • Square Root
  • Compare
  • Absolute
  • Round
  • Round Up
  • Round Down

Tests

$ ./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/MathTest
$ ./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/MathBCMathTest

Credits

DWZI GmbH
DWZI GmbH
https://dwzi.at