There are multiple ways msg.payload.toFixed() will return a string with the value set to interger
here are a couple of other ways
[{"id":"d91c7fc3.fce0c8","type":"inject","z":"c74669a0.6a34f8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"1.23","payloadType":"num","x":100,"y":1480,"wires":[["aa0748cd.3d8a9","54b59e1e.722fa","7eb45134.6f573"]]},{"id":"aa0748cd.3d8a9","type":"change","z":"c74669a0.6a34f8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"$round(payload)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":290,"y":1480,"wires":[["896fbba5.052b98"]]},{"id":"54b59e1e.722fa","type":"function","z":"c74669a0.6a34f8","name":"","func":"msg.payload = parseInt(msg.payload);\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":280,"y":1520,"wires":[["896fbba5.052b98"]]},{"id":"7eb45134.6f573","type":"function","z":"c74669a0.6a34f8","name":"","func":"msg.payload =msg.payload.toFixed()\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":280,"y":1560,"wires":[["896fbba5.052b98"]]},{"id":"896fbba5.052b98","type":"debug","z":"c74669a0.6a34f8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":610,"y":1640,"wires":[]}]
it all depends if you want a string return or a number.