Skip to content
This repository was archived by the owner on Jan 2, 2019. It is now read-only.
This repository was archived by the owner on Jan 2, 2019. It is now read-only.

columnIndexFromString and stringFromColumnIndex are not compatible #307

@lorenzulrich

Description

@lorenzulrich

From reading their names, I would assume that the functions mentioned above would be doing the same operation, but reversed. But they don't.

echo(PHPExcel_Cell:columnIndexFromString('A'));
// result: 1
echo(PHPExcel_Cell:stringFromColumnIndex(1);
// result: 2, expected: 1

Since I'm surely not the first to find this out: Are there any reasons for that behaviour?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions