tommica / php-goalseeksimple
A PHP port of Adam Hannas goal seek functionality
Installs: 1 076
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.6
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-11-12 17:40:02 UTC
README
This is a port of: https://github.com/adam-hanna/goal-seek
Usage:
composer require tommica/php-goalseeksimple
<?php use Tommica\GoalSeekSimple; function calculate($x, $y, $z) { return $x * $y * $z; } $result = GoalSeekSimple::Solve( 'calculate', array(1, 9, 19), 0, 200, 1, 684, 0 ); echo $result; // 4