mirror of
https://github.com/nushell/nushell.git
synced 2024-11-23 17:03:45 +01:00
23 lines
302 B
Markdown
23 lines
302 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
|
||
|
```
|