* Automatic fixing of deprecations and use non-quoted default planes by default Signed-off-by: Nick Cameron <nrc@ncameron.org> * A snapshot a day keeps the bugs away! 📷🐛 * A snapshot a day keeps the bugs away! 📷🐛 * A snapshot a day keeps the bugs away! 📷🐛 * A snapshot a day keeps the bugs away! 📷🐛 * A snapshot a day keeps the bugs away! 📷🐛 --------- Signed-off-by: Nick Cameron <nrc@ncameron.org> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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`](/docs/kcl/types/number)
|
||
|
||
|
||
### Examples
|
||
|
||
```js
|
||
exampleSketch = startSketchOn(XZ)
|
||
|> startProfileAt([0, 0], %)
|
||
|> angledLine({ angle = 30, length = 2 * e() ^ 2 }, %)
|
||
|> yLine(endAbsolute = 0)
|
||
|> close()
|
||
|
||
example = extrude(exampleSketch, length = 10)
|
||
```
|
||
|
||

|
||
|
||
|