Hi,
This code should truncate the decimal positions to 2.
float auxVar;
auxVar = int(100 * floatVar) / 100;
out["var"] = auxVar;
Let me know how it goes.
Hi,
This code should truncate the decimal positions to 2.
float auxVar;
auxVar = int(100 * floatVar) / 100;
out["var"] = auxVar;
Let me know how it goes.