* Fix various docs errors around std module Signed-off-by: Nick Cameron <nrc@ncameron.org> * remove KCL from lang docs titles and move settings docs Signed-off-by: Nick Cameron <nrc@ncameron.org> * Include functions declared in Rust in module docs Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
34 lines
79 KiB
Markdown
34 lines
79 KiB
Markdown
---
|
||
title: "E"
|
||
subtitle: "Constant in std::math"
|
||
excerpt: "The value of Euler’s number `e`."
|
||
layout: manual
|
||
---
|
||
|
||
The value of Euler’s number `e`.
|
||
|
||
```kcl
|
||
E: number = 2.71828182845904523536028747135266250_
|
||
```
|
||
|
||
|
||
|
||
### Examples
|
||
|
||
```kcl
|
||
exampleSketch = startSketchOn(XZ)
|
||
|> startProfile(at = [0, 0])
|
||
|> angledLine(
|
||
angle = 30,
|
||
length = 2 * E ^ 2,
|
||
)
|
||
|> yLine(endAbsolute = 0)
|
||
|> close()
|
||
|
||
example = extrude(exampleSketch, length = 10)
|
||
```
|
||
|
||

|
||
|
||
|