Skip to content

Operator unary plus is not supported #70

Closed

Description

@wojciechczerniak

Description

If the user input is =+3 formula will evaluate as an Error #NAME?.

Test case

it('6.4.15 Prefix Operator +', () => {
  const engine = HyperFormula.buildFromArray([
    ['=+3'],
  ])

  expect(engine.getCellValue(adr('A1'))).toBe(3)
});

ODFF spec

https://docs.oasis-open.org/office/OpenDocument/v1.3/csprd02/part4-formula/OpenDocument-v1.3-csprd02-part4-formula.html#__RefHeading__1018040_715980110

Activity

  1. added
    ODFF SGE
    ODFF Conformance
    on Dec 8, 2019
  2. added this to the January 2020 milestone on Jan 7, 2020
  3. added
    Bug
    on Jan 7, 2020
  4. izulin commented on Jan 10, 2020

    @izulin
    Contributor
  5. added a commit that references this issue on Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugODFF ConformanceODFF SGE

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions