Sets the contents of the cell in the upper-left corner of the range to the specified number.
Range.setCellContentsFromNumber(contents)
setCellContentsFromNumber works as if the user selected a cell and entered a value in the edit line.
It overwrites any value already in the cell.
See also
setCellContentsFromString method
getCellContents method
getCellValueAsNumber method
getCellValueAsString method