Skip to content

Commit

Permalink
Fix: int to float64
Browse files Browse the repository at this point in the history
  • Loading branch information
dude333 committed Nov 3, 2023
1 parent 993ddad commit 07f965b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/relatorio.go
Original file line number Diff line number Diff line change
Expand Up @@ -552,9 +552,9 @@ func excelSummaryReport(x *excel.Excel, itr []rapina.InformeTrimestral, vert, de
// Auto-resize columns
cols := ifElse(vert, col, colB+len(anos)*4)
widths := make([]float64, cols)
widths[0] = ifElse(vert, 8.5, 18)
widths[0] = ifElse(vert, 8.5, 18.0)
for i := 1; i < cols; i++ {
widths[i] = 12
widths[i] = 12.0
}
x.SetColWidth(widths)

Expand Down

0 comments on commit 07f965b

Please sign in to comment.