Skip to content

Commit

Permalink
Add simple expression
Browse files Browse the repository at this point in the history
  • Loading branch information
dqbd committed Jun 5, 2023
1 parent 0f5df1b commit b6828dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ npm install ts-math-evaluate

## Usage

For documentation, please visit [https://ts-math-evaluate.vercel.app/](https://ts-math-evaluate.vercel.app/).
```typescript
type Value = Evaluate<"3.1 + 2.5 * (1 - 5.6) / 4.2 + truncate(root(4, 2))! * -floor(1.5) + abs(-1) + ceil(root(4, 2))">
```
For full documentation, please visit [https://ts-math-evaluate.vercel.app/](https://ts-math-evaluate.vercel.app/).

0 comments on commit b6828dd

Please sign in to comment.