Model/Adapter/ChargeAmountAdapter.php
public static function getStoreAmountOfCurrency($amount, $currencyCode) {
        $currencyCode   = strtoupper($currencyCode);
        $amount         = (int) $amount;

        if( in_array($currencyCode, self::FULL_VALUE_CURRENCIES, true) ) {
            return (float) $amount;
        }

        if( in_array($currencyCode, self::DIV_1000_VALUE_CURRENCIES, true) ) {
            return (float) ($amount / self::DIV_1000);
        }

        return (float) ($amount / self::DIV_100);
    }
public static function getStoreAmountOfCurrency($amount, $currencyCode) {
        $currencyCode   = strtoupper($currencyCode);
        $amount         = (int) $amount;

        if( in_array($currencyCode, self::FULL_VALUE_CURRENCIES, true) ) {
            return (float) $amount;
        }

        if( in_array($currencyCode, self::DIV_1000_VALUE_CURRENCIES, true) ) {
            return (float) ($amount / self::DIV_1000);
        }

        return (float) ($amount / self::DIV_100);
    }
public static function getStoreAmountOfCurrency ( $ amount , $ currencyCode ) { $ currencyCode = strtoupper ( $ currencyCode ) ; $ amount = ( int ) $ amount ; if ( in_array ( $ currencyCode , self :: FULL_VALUE_CURRENCIES , true ) ) { return ( float ) $ amount ; } if ( in_array ( $ currencyCode , self :: DIV_1000_VALUE_CURRENCIES , true ) ) { return ( float ) ( $ amount / self :: DIV_1000 ) ; } return ( float ) ( $ amount / self :: DIV_100 ) ; }
Returns transformed amount by the given currency code which can be handled by the store.

@param string|int $amount Value from the gateway.
@param $currencyCode
@return float
Returns transformed amount by the given currency code which can be handled by the store .