Floating values in email Endpoint

Hello,

I have developed a sensor prototype that sends alarms using email endpoints (including actual values of temperature). When I work with integer values there is no problem, but when floating values are sent only the integer part of the number appears (without decimal values). Is there any way to show the decimal values?.

This is the Endpoint definition:
Sensor 1: {{Temperatura1}} ºC .
Sensor 2: {{Temperatura2}} ºC.

This the Device resource definition:
float temp[2]

thing[“PruebaIoT”] >> [](pson& out){
out[“Temperatura1”] = temp[0];
out[“Temperatura2”] = temp[1];
};

thing.call_endpoint(“BucketTempPruebaIoT”,thing[“PruebaIoT”]);

Thank you for your help

Solved! It works