Server IP : 66.29.132.124 / Your IP : 18.190.253.224 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/vendor/bavix/laravel-wallet/src/Interfaces/ |
Upload File : |
<?php namespace Bavix\Wallet\Interfaces; interface Mathable { /** * @param int|float|string $first * @param int|float|string $second * @param int|null $scale * * @return string */ public function add($first, $second, ?int $scale = null): string; /** * @param int|float|string $first * @param int|float|string $second * @param int|null $scale * * @return string */ public function sub($first, $second, ?int $scale = null): string; /** * @param int|float|string $first * @param int|float|string $second * @param int|null $scale * * @return string */ public function div($first, $second, ?int $scale = null): string; /** * @param int|float|string $first * @param int|float|string $second * @param int|null $scale * * @return string */ public function mul($first, $second, ?int $scale = null): string; /** * @param int|float|string $first * @param int|string $second * @param int|null $scale * * @return string */ public function pow($first, $second, ?int $scale = null): string; /** * @param int|float|string $number * @param int $precision * @return string */ public function round($number, int $precision = 0): string; /** * @param int|float|string $number * * @return string */ public function floor($number): string; /** * @param int|float|string $number * @return string */ public function ceil($number): string; /** * @param int|float|string $number * * @return string */ public function abs($number): string; /** * @param int|float|string $number * * @return string */ public function negative($number): string; /** * @param int|float|string $first * @param int|float|string $second * * @return int */ public function compare($first, $second): int; }