rockiger / fintils
Utilities for financial calculations. Used in betagainst.fun.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rockiger/fintils
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2026-01-08 18:26:50 UTC
README
Utilitis for financial calculation that are not present in MathPHP.
Installation
This project using composer.
$ composer require rockiger/fintils
Usage
Genrate random password.
<?php use Rockiger\Fintils; // Calculate the return of the given prices: //[0, 0.1, 0.0454545454545454, -0.0869565217391305, -0.0476190476190477] $returns = Fintils::Rs([100, 110, 115, 105, 100])