Skip to content

Commit d383bc3

Browse files
committed
Restore reference to calculation engine
1 parent cfcafd3 commit d383bc3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/topics/accessing-cells.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,20 +239,19 @@ using the `getValue()` method.
239239

240240
``` php
241241
// Get the value fom cell A1
242-
$cellValue = $spreadsheet->getActiveSheet()->getCell('A1')
243-
->getValue();
242+
$cellValue = $spreadsheet->getActiveSheet()->getCell('A1')->getValue();
244243
```
245244

246245
This will retrieve the raw, unformatted value contained in the cell.
247246

248247
If a cell contains a formula, and you need to retrieve the calculated
249248
value rather than the formula itself, then use the cell's
250-
`getCalculatedValue()` method. This is further explained in .
249+
`getCalculatedValue()` method. This is further explained in
250+
[the calculation engine](./calculation-engine.md).
251251

252252
``` php
253253
// Get the value fom cell A4
254-
$cellValue = $spreadsheet->getActiveSheet()->getCell('A4')
255-
->getCalculatedValue();
254+
$cellValue = $spreadsheet->getActiveSheet()->getCell('A4')->getCalculatedValue();
256255
```
257256

258257
Alternatively, if you want to see the value with any cell formatting
@@ -288,7 +287,7 @@ $cellValue = $spreadsheet->getActiveSheet()->getCellByColumnAndRow(2, 5)->getVal
288287
```
289288

290289
If you need the calculated value of a cell, use the following code. This
291-
is further explained in .
290+
is further explained in [the calculation engine](./calculation-engine.md).
292291

293292
``` php
294293
// Get the value fom cell A4

0 commit comments

Comments
 (0)