msgpi.utils.io.writeFormatFloats#

msgpi.utils.io.writeFormatFloats(file, numbers, fmt='16.6E', newline=True, indent=0)#

Write a list of floats into a file

Parameters
  • file (file) – The file object for writing.

  • numbers (list of floats) – The list of numbers that is going to be written.

  • fmt (str) – The desired format for each number.

  • newline (bool) – If append the character \n after writting all numbers or not.