forked from extern/nushell
24 lines
303 B
Markdown
24 lines
303 B
Markdown
|
---
|
||
|
title: math eval
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
Evaluate a math expression into a number
|
||
|
|
||
|
## Signature
|
||
|
|
||
|
```> math eval (math expression)```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
- `math expression`: the math expression to evaluate
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
Evalulate math in the pipeline
|
||
|
```shell
|
||
|
> '10 / 4' | math eval
|
||
|
```
|
||
|
|