Skip to content

splitUnit behavior does not match documentation #3644

@Xuerian

Description

@Xuerian

Describe the bug
splitUnit behavior does not match documentation

To Reproduce

  1. Go to https://mathjs.org/index.html
  2. Evaluate (1m).splitUnit(["ft", "in"]) in the parser

Expected: [ 3 feet, 3.3700787401575 inch ]
Result: [1m]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions