mirror of
https://github.com/nushell/nushell.git
synced 2024-12-03 22:06:54 +01:00
23 lines
301 B
Markdown
23 lines
301 B
Markdown
---
|
|
title: math eval
|
|
layout: command
|
|
version: 0.59.1
|
|
---
|
|
|
|
Evaluate a math expression into a number
|
|
|
|
## Signature
|
|
|
|
```> math eval (math expression)```
|
|
|
|
## Parameters
|
|
|
|
- `math expression`: the math expression to evaluate
|
|
|
|
## Examples
|
|
|
|
Evaluate math in the pipeline
|
|
```shell
|
|
> '10 / 4' | math eval
|
|
```
|