Closed Fluglow closed 6 months ago
Question: Do you think it is possible to make the resolve cell process into stages? Where the line between formula evaluation and value formatting is clear? Because cell have resolvedValue
and formattedValue
I can think of those operations as 2 stage operations and not a single resolveCell
functions.
Question: Do you think it is possible to make the resolve cell process into stages? Where the line between formula evaluation and value formatting is clear? Because cell have
resolvedValue
andformattedValue
I can think of those operations as 2 stage operations and not a singleresolveCell
functions.
Good point; I've split the logic since a formatter update shouldn't require resolving the formula.
Formatter
functions on cell valueCell
to hold itsrawValue
(previouslyformula
),resolvedValue
(previouslyvalue
) andformattedValue
NumberFormatter
as an exampleconsole.log
calls from tests