File path: dist/twist/Core/Utilities/Localisation.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
convertCurrency
— Convert an amount between two Currency ISO codes
Name | Description |
---|---|
$strFromISO | n/a |
$strToISO | n/a |
$fltAmount | n/a |
[$blFormat = true] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strFromISO = 'foo';
$strToISO = 'foo';
$fltAmount = 6.12;
$blFormat = true;
//Call the function convertCurrency with the example vars
Twist::Localisation() -> convertCurrency($strFromISO, $strToISO, $fltAmount, $blFormat);