Number formatting fix for payment gateways