PHP code example of webinv / bigdecimal
1. Go to this page and download the library: Download webinv/bigdecimal library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webinv / bigdecimal example snippets
use Webinv\Types\BigDecimal\BigDecimal;
$bigdecimal = new BigDecimal('0.00008630');
$bigdecimal->add('0.00000001');
if ($bigdecimal->isGreaterThan('0.00008630')) {
echo 'Yes !';
}