Worksheet::writeNumber

Worksheet::writeNumber -- Write a double to the specified row and column (zero indexed).

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Worksheet::writeNumber (integer $row, integer $col, float $num [, mixed $format=0])

Description

Write a double to the specified row and column (zero indexed). An integer can be written as a double. Excel will display an integer. $format is optional. Returns 0 : normal termination -2 : row or column out of range

Parameter

Note

This function can not be called statically.

Example