Skip to content

Some formulas stored as undefined. #80

Description

@jansiegel

Description

Some formulas seem to be stored in the HF engine as undefined, while returning a proper result. Steps to reproduce are based on the ABS formula, but it looks similar for:

  • ASIN
  • ATAN
  • COS
  • COT
  • COUNTIFS
  • DEGREES
  • EVEN
  • INT
  • ISEVEN
  • ISODD
  • LN
  • LOG
  • LOG10
  • MAXA
  • NOT
  • ODD
  • ROUND
  • ROUNDDOWN
  • ROUNDUP
  • SIN
  • TAN
  • TRUNC
  • XOR

Steps to reproduce

  const hf = HyperFormula.HyperFormula.buildEmpty();
  hf.addSheet('test');
  hf.setCellContent({row: 0, col: 0, sheet: hf.sheetId('test')}, '=ABS(-34)');
  
  console.log(hf.getCellFormula({row: 0, col: 0, sheet: hf.sheetId('test')}));

Result: =undefined(-34)

Your environment

  • HyperFormula version: f4ac5ea342c598ba0388ee3887fe1a1fa7f21e08

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions