Cuando el tipo de valor de retorno de Ajax es "texto", puede ocurrir un error al recibir el tipo int.
Solución: convertir int en cadena
int money =100;
String s = Integer.toString(money);
Cuando el tipo de valor de retorno de Ajax es "texto", puede ocurrir un error al recibir el tipo int.
Solución: convertir int en cadena
int money =100;
String s = Integer.toString(money);