Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix evaluate method of mathjs #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README-zh.md
Expand Up @@ -162,7 +162,7 @@ console.log(math.multiply(a, b).toString())
这个库还支持字符串表达式求值, 所以上边的可以写为:

```js
console.log(math.eval('(3 - i) * i').toString())
console.log(math.evaluate('(3 - i) * i').toString())
//=> '1 + 3i'
```

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -164,7 +164,7 @@ console.log(math.multiply(a, b).toString())
The library also supports evaluating a string expression, so the above could be re-written as:

```js
console.log(math.eval('(3 - i) * i').toString())
console.log(math.evaluate('(3 - i) * i').toString())
//=> '1 + 3i'
```

Expand Down