src/PaymentSlipData.php
public function getAmountCents()
    {
        if ($this->getNotForPayment()) {
            return 'XX';
        }
        $amount = $this->getAmount();
        $francs = intval($amount);
        $cents = round(($amount - $francs) * 100);
        return str_pad($cents, 2, '0', STR_PAD_LEFT);
    }
public function getAmountCents()
    {
        if ($this->getNotForPayment()) {
            return 'XX';
        }
        $amount = $this->getAmount();
        $francs = intval($amount);
        $cents = round(($amount - $francs) * 100);
        return str_pad($cents, 2, '0', STR_PAD_LEFT);
    }
public function getAmountCents ( ) { if ( $ this -> getNotForPayment ( ) ) { return 'XX' ; } $ amount = $ this -> getAmount ( ) ; $ francs = intval ( $ amount ) ; $ cents = round ( ( $ amount - $ francs ) * 100 ) ; return str_pad ( $ cents , 2 , '0' , STR_PAD_LEFT ) ; }
Get the zero filled, right padded, two digits long cents amount

@return bool|string Amount of Cents, zero filled, right padded, two digits long.
Get the zero filled right padded two digits long cents amount