How to Return Numeric Value in Custom Gateway

Dear All,
i want to ask , how to return a numeric value for variable $total or $amount
i want to use it in Custom Gateway …
if i use variable $total
will shown : Rp7,500,000.00
i want use only 7500000

how to get numeric value in this case…

thank you
Sri Darwanto

Sorry, I don’t believe it’s supported in v4

We’ll keep this in mind for v5…

ok thank you,

i tried to use extracting string to number… but the script not work in Custom Gateway Text

Thanks
Sri Darwanto

For security reasons JavaScript is disabled in the custom gateway