cashocs.io.managers.generate_output_str#
- cashocs.io.managers.generate_output_str(db: database.Database, precision: int) str [source]#
Generates the string which can be written to console and file.
- Parameters:
db (database.Database) – The database of the problem.
precision (int) – The precision used for displaying the numbers.
- Returns:
The output string, which is used later.
- Return type:
str