Worksheet::writeNumber

Worksheet::writeNumber

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

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

  • integer $row - Zero indexed row

  • integer $col - Zero indexed column

  • float $num - The number to write

  • mixed $format - The optional XF format

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.