ePages 6.17.35 - DE_EPAGES/4B/API/TLE/4BTLEHandler.pm

Package DE_EPAGES::Shop::API::TLE::ShopHandler

TLE hander for 4B payment

Package DE_EPAGES::4B::API::TLE::4BTLEHandler

Functions

FORMAT_4B

FORMAT_4B

Converts a money amout to multiples of the lowest unit, for example: 15,10 EUR -> "1510". If #AddPrefix is true, the numeric currency code is added before the value, for example: 15,10 EUR -> "M9781510".

Syntax
#FORMAT_4B(#Amount, #CurrencyID, #AddPrefix)
Example
#FORMAT_4B(#LineItemContainer.Payment.Amount, #LineItemContainer.Payment.CurrencyID, 1)
Input
#Amount (float)
amout of money
Return
#Value (string)
value in lowest unit