PHP code example of wannabestart / currency-blade

1. Go to this page and download the library: Download wannabestart/currency-blade 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/ */

    

wannabestart / currency-blade example snippets


@formatcurrency('3CODE',MONEYVALUE)

@formatcurrency('USD', 25000) // $25,000.00 
@formatcurrency('IDR', 25000) // Rp25.000,00
@formatcurrency('', 25000) // If code NULL it will return its value