Novis\Spreadsheet\Formula
An Excel formula for one cell, such as SUM(C2:C9). Make one with Formula::of. A string is always written as text. Only a Formula is written as a formula.
Members
2 members.
| Member | Signature |
|---|---|
constructor | constructor(tainted string $text, string|int|float|null $cached): void |
of | of(string $text, ?{ cached?: string|int|float } $options = null): Formula |
Properties
$formula->texttainted stringthe Excel text of the formula, with no=at the start. It istainted, becauseReadercan read a formula from a file.$formula->cachedstring|int|float|nullthe result the file has for a program that does not calculate, ornull
