Files
modeling-app/docs/kcl/e.md
Nick Cameron df278c7e6a Various hover improvements (#5617)
* Show more info on hover for variables

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Move hover impls to lsp module

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Make hover work on names inside calls, fix doc line breaking, trim docs in tool tips

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Test the new hovers; fix signature syntax

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Hover tips for kwargs

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-03-04 09:53:31 +00:00

79 KiB
Raw Blame History

title, excerpt, layout
title excerpt layout
e Return the value of Eulers number `e`. manual

WARNING: This function is deprecated.

Return the value of Eulers number e.

DEPRECATED use the constant E

e(): number

Tags

  • math

Returns

number

Examples

exampleSketch = startSketchOn("XZ")
  |> startProfileAt([0, 0], %)
  |> angledLine({ angle = 30, length = 2 * e() ^ 2 }, %)
  |> yLineTo(0, %)
  |> close()

example = extrude(exampleSketch, length = 10)

Rendered example of e 0