Convert the numbers to text using the number to fractional string function...Now concatinate the numbers and include the necessary formatting characters in the string...in your case that would mean a concatination like this:
Number1 + , + Number 2 + , + Number 3 + End of line constant + Number 1 line 2 + Number 2 line 2......
If e.g. you have a table that has three columns, one for each of the numbers that is to go on one and the same line...you can generate the string row by row inside a for-loop and just place a 1-terminal concatinate outside with the auto-indexed output string array wired into it...and the result wired to the file IO...OR if you want to reduce memory usage etc. you can open/create a file first, then write the strings inside the loop an
d close when the loop is finished.
You write the string to a file using almost any file write function you want...you can use the open/create/replace function to open or create a file, then write at the end of that file..and close...or easier use the write characters to file function. If you write the data incrementally and very often (like in a fast loop) it better to use the basic functions because then the files won't be opened and closed on every iteration (as they would if you use the write characters to file function...).