PHP code example of ofcold / numeric-component

1. Go to this page and download the library: Download ofcold/numeric-component 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/ */

    

ofcold / numeric-component example snippets




$result = num(3.141592698)->add(1111)->mul(2)->div(100);