Here is an example using the join node. The injects are for testing and generate a random number, Have a play hope it helps.
[{"id":"c80bbf28.a5eed8","type":"inject","z":"5a245aa1.510164","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"$round($random()*9)","payloadType":"jsonata","x":90,"y":3660,"wires":[["755df129.aebf08"]]},{"id":"755df129.aebf08","type":"ui_slider","z":"5a245aa1.510164","name":"","label":"1000","tooltip":"","group":"8b5cde76.edd58","order":4,"width":0,"height":0,"passthru":true,"outs":"end","topic":"thousand","topicType":"str","min":0,"max":"10","step":1,"x":230,"y":3680,"wires":[["c900bea7.7f1108"]]},{"id":"c900bea7.7f1108","type":"join","z":"5a245aa1.510164","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"1","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":400,"y":3740,"wires":[["46e3c0d7.c48b5"]]},{"id":"8aea7870.00324","type":"ui_slider","z":"5a245aa1.510164","name":"","label":"1","tooltip":"","group":"8b5cde76.edd58","order":4,"width":0,"height":0,"passthru":true,"outs":"end","topic":"unit","topicType":"str","min":0,"max":10,"step":1,"x":230,"y":3860,"wires":[["c900bea7.7f1108"]]},{"id":"2f0e72cd.eba9b6","type":"ui_slider","z":"5a245aa1.510164","name":"","label":"10","tooltip":"","group":"8b5cde76.edd58","order":4,"width":0,"height":0,"passthru":true,"outs":"end","topic":"ten","topicType":"str","min":0,"max":10,"step":1,"x":230,"y":3800,"wires":[["c900bea7.7f1108"]]},{"id":"4c944021.62a4a","type":"ui_slider","z":"5a245aa1.510164","name":"","label":"100","tooltip":"","group":"8b5cde76.edd58","order":4,"width":0,"height":0,"passthru":true,"outs":"end","topic":"hundred","topicType":"str","min":0,"max":10,"step":1,"x":230,"y":3740,"wires":[["c900bea7.7f1108"]]},{"id":"46e3c0d7.c48b5","type":"function","z":"5a245aa1.510164","name":"","func":"let thousands = (msg.payload.thousand || 0) * 1000,\nhundreds = (msg.payload.hundred || 0) * 100,\ntens = (msg.payload.ten || 0) * 10,\nunits = msg.payload.unit || 0;\nmsg.payload.total = thousands + hundreds + tens + units;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":500,"y":3800,"wires":[["8fb379e3.1e2938","64a84df4.8ed5cc"]]},{"id":"9a2d6f08.539b5","type":"inject","z":"5a245aa1.510164","name":"reset","props":[{"p":"reset","v":"","vt":"date"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":210,"y":3940,"wires":[["c900bea7.7f1108"]]},{"id":"f4ec0a9.aefdcf8","type":"inject","z":"5a245aa1.510164","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"$round($random()*9)","payloadType":"jsonata","x":90,"y":3880,"wires":[["8aea7870.00324"]]},{"id":"34423f11.ece648","type":"inject","z":"5a245aa1.510164","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"$round($random()*9)","payloadType":"jsonata","x":90,"y":3800,"wires":[["2f0e72cd.eba9b6"]]},{"id":"33e2c29b.3e992e","type":"inject","z":"5a245aa1.510164","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"$round($random()*9)","payloadType":"jsonata","x":90,"y":3740,"wires":[["4c944021.62a4a"]]},{"id":"8fb379e3.1e2938","type":"debug","z":"5a245aa1.510164","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":600,"y":3740,"wires":[]},{"id":"64a84df4.8ed5cc","type":"ui_text","z":"5a245aa1.510164","group":"8b5cde76.edd58","order":8,"width":0,"height":0,"name":"","label":"text","format":"{{msg.payload.total}}","layout":"row-spread","x":580,"y":3880,"wires":[]},{"id":"8b5cde76.edd58","type":"ui_group","name":"","tab":"8f03e639.85956","order":1,"disp":true,"width":"6","collapse":false},{"id":"8f03e639.85956","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]