Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
SEPASDD
decimalToInt
SEPASDD::decimalToInt PHP Method
SEPASDD Class Documentation
Show file
Open project: congressus/sepa-direct-debit
decimalToInt()
private
method
Function to convert an amount in decimal to cents (without point).
private
decimalToInt
(
$decimal
) :
The
$decimal
The amount as decimal
return
The
amount as integer string
private function decimalToInt($decimal) { return str_replace(".", "", $decimal); }
SEPASDD
__construct
addCustomNode
addPayment
calcTotalAmount
createGroupHeader
decimalToInt
finalize
getBatch
getCstmrDrctDbtInitnNode
getDirectDebitInfo
intToDecimal
isEmpty
makeId
makeMsgId
prepareDocument
save
validate
validateAmount
validateBIC
validateBatch
validateConfig
validateDDType
validateDate
validateEndToEndId
validateIBAN
validateMandateDate
validatePayment