Arduino nano mqtt

so, if no decimals are needed, I can write:

client.publish("home-assistant/sensor03/voltage", (String(v,0).c_str()), true);

could this help?