https://bugs.documentfoundation.org/show_bug.cgi?id=117002
m.a.riosv changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC||miguelangelrv@libreoffice.o
||rg
Resolution|--- |NOTABUG
--- Comment #3 from m.a.riosv ---
(In reply to simm.emanem from comment #0)
> .
> I am pretty sure that the problem is with ISNUMBER, because if I add a
> number to the result of LEFT, I get a correct sum: =LEFT(G6)+1 equals 3.
>
> ISNUMBER is treating the value provided by LEFT as text instead of as a
> number.
Because there is an automatic conversion out of LEFT() that gives an string,
the + operation makes the conversion.
An easy way to have it working is involve the LEFT() with N() function
N(LEFT()), or doing an operation forcing the conversion LEFT()+0.
https://help.libreoffice.org/6.0/en-US/text/scalc/01/04060104.html?System=WIN&DbPAR=CALC#bm_id3153786
N
Returns the numeric value of the given parameter. Returns 0 if parameter is
text or FALSE.
If an error occurs the function returns the error value.
Syntax
N(Value)
Value is the parameter to be converted into a number. N() returns the numeric
value if it can. It returns the logical values TRUE and FALSE as 1 and 0
respectively. It returns text as 0.
--
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs