#bhanu365-balance-integer
1 messages · Page 1 of 1 (latest)
hello
you don't pass decimals, the value it accepts is an integer in the currency's lowest common denomination
so its an integer value in say, cents already
$10.24 == amount: 1024
what currency is this
Like I have $60.04 amount and 20% of discount
$this->discount = ($this->prorated_amount * ($this->voucher->price / 100));
USD