https://bugs.documentfoundation.org/show_bug.cgi?id=174141

--- Comment #6 from Ben Urban <[email protected]> ---
What's happening here is that number formatting as defined by the formula is
not carried through the LET/LAMBDA process. Try, for instance:
=LET(x,DATE(2026,10,24),x)
You'll get a number instead of a date.

I think the problem is in ScInterpreter::Interpret; it does a lot of stuff with
the number formatting of the result, and is called by both LET and LAMBDA. I
don't think any of my code that implements LET/LAMBDA does anything that would
remove the formatting. It probably needs a conditional guard based on whether
it is being called inside a LET/LAMBDA, just like I set up for a matrix result.

Should this be set up as an EasyHack?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to