I have a rest api in java 8 with spring-boot and my service returns a json where it shows me my Double value with the letter E inside it (scientific notation). My value in the DB is stored without the letter E. When I retrieve it, it is already stored in my Double property with the letter E. How can I make the API response without the E in the value of the double???. I show you my answer class.
public class Empresa {
private String nombre;
private Double monto;
// getters y setters aca
}
and the response I see is:
{
"Empresa": {
"nombre": "Empresa1",
"monto": 4.23423443E8
}
}