Repository navigation
LEFT and RIGHT functions are returning incorrect results #959
Replies: 3 comments 1 reply
|
Hi @dksingla thanks for your report. This behaviour is caused by interpreting string Try this: I see that this behaviour is not documented in our docs, so I'm creating an issue to do so: #960 Unit tests that demonstrate this: hyperformula/test/CellContentParser.spec.ts Lines 128 to 135 in fd0a405 |
|
@dksingla We've just released the new version of the documentation with a detailed description of how to force a string value type. |
|
Please note that HyperFormula feature requests have been moved to the Handsontable forums: |
Uh oh!
There was an error while loading. Please reload this page.
Description
Below is an example of the LEFT formula
[["0003", "=LEFT(A1,2)"]];
It returns 3, instead, it should return 00 as LEFT takes the first argument of the typed string.
All reactions