43 lines
79 KiB
Markdown
43 lines
79 KiB
Markdown
---
|
||
title: "e"
|
||
excerpt: "Return the value of Euler’s number `e`."
|
||
layout: manual
|
||
---
|
||
|
||
**WARNING:** This function is deprecated.
|
||
|
||
Return the value of Euler’s number `e`.
|
||
|
||
**DEPRECATED** use the constant E
|
||
|
||
```js
|
||
e() -> number
|
||
```
|
||
|
||
### Tags
|
||
|
||
* `math`
|
||
|
||
|
||
|
||
### Returns
|
||
|
||
`number`
|
||
|
||
|
||
### Examples
|
||
|
||
```js
|
||
exampleSketch = startSketchOn("XZ")
|
||
|> startProfileAt([0, 0], %)
|
||
|> angledLine({ angle = 30, length = 2 * e() ^ 2 }, %)
|
||
|> yLineTo(0, %)
|
||
|> close()
|
||
|
||
example = extrude(exampleSketch, length = 10)
|
||
```
|
||
|
||

|
||
|
||
|