def write_number(*args)
      # Check for a cell reference in A1 notation and substitute row and column
      row, col, num, xf = row_col_notation(args)
      raise WriteXLSXInsufficientArgumentError if [row, col, num].include?(nil)

      # Check that row and col are valid and store max and min values
      check_dimensions(row, col)
      store_row_col_max_min_values(row, col)

      store_data_to_table(NumberCellData.new(self, row, col, num, xf))
    end
def write_number(*args)
      # Check for a cell reference in A1 notation and substitute row and column
      row, col, num, xf = row_col_notation(args)
      raise WriteXLSXInsufficientArgumentError if [row, col, num].include?(nil)

      # Check that row and col are valid and store max and min values
      check_dimensions(row, col)
      store_row_col_max_min_values(row, col)

      store_data_to_table(NumberCellData.new(self, row, col, num, xf))
    end
:call-seq:
   write_number(row, column, number [ , format ] )

 Write an integer or a float to the cell specified by row and column:

     worksheet.write_number(0, 0, 123456)
     worksheet.write_number('A2', 2.3451)

 See the note about {"Cell notation"}[#label-Cell+notation].
 The +format+ parameter is optional.

 In general it is sufficient to use the {#write()}[#method-i-write] method.

 Note: some versions of Excel 2007 do not display the calculated values
 of formulas written by WriteXLSX. Applying all available Service Packs
 to Excel should fix this.