number property
num?
get
number
The cell's number, for a selection's Sum/Average: a number cell, or a formula whose saved result is one. Text that looks numeric isn't counted, as in Excel's status bar.
Implementation
num? get number => switch (value) {
NumberValue(:final value) => value,
FormulaValue(cached: NumberValue(:final value)) => value,
_ => null,
};