If I understand you correctly, you want to format your file output with different formats, depending on the column in the array.
You can easily built your ASCII strings using different formats, e.g. put your array into an autoindexing FOR loop where you format each row with e,g, "%.0f %.0f %.5f \n", then append the string to a shift register initialized with an empty array.
Take the final string and write it to your file using e.g. "write charcters to file".