|
@@ -75,7 +75,7 @@ func (sh *Sheet) Cell(row, col int) *Cell {
|
|
|
//Set the width of a single column or multipel columns.
|
|
//Set the width of a single column or multipel columns.
|
|
|
func (s *Sheet) SetColWidth(startcol, endcol int, width float64) error {
|
|
func (s *Sheet) SetColWidth(startcol, endcol int, width float64) error {
|
|
|
if startcol > endcol {
|
|
if startcol > endcol {
|
|
|
- return fmt.Errorf("Could not set width for range %g-%g: startcol must be less than endcol.", startcol, endcol)
|
|
|
|
|
|
|
+ return fmt.Errorf("Could not set width for range %d-%d: startcol must be less than endcol.", startcol, endcol)
|
|
|
}
|
|
}
|
|
|
col := &Col{
|
|
col := &Col{
|
|
|
Min: startcol + 1,
|
|
Min: startcol + 1,
|