The fmt.tbl function in Goal allows specifying the format string to use for floating-point numbers.
Create a function akin to fmt.tbl but which allows for greater extensibility. Consider making a dictionary argument that can accept multiple override-able configurations for the formatting.
For this issue, the primary use-case is to continue handling the floating-point format string and additionally support setting a maximum width for columns. Columns should be truncated to meet the maximum width.
The
fmt.tblfunction in Goal allows specifying the format string to use for floating-point numbers.Create a function akin to
fmt.tblbut which allows for greater extensibility. Consider making a dictionary argument that can accept multiple override-able configurations for the formatting.For this issue, the primary use-case is to continue handling the floating-point format string and additionally support setting a maximum width for columns. Columns should be truncated to meet the maximum width.