Files
modeling-app/docs/kcl-std/consts/std-math-E.md
Nick Cameron df6c81b0b4 Units bug fix with modulo (#7446)
* Add degrees annotations to examples

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

* Fix a units bug with the modulo operation

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

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-06-12 08:44:55 +12:00

79 KiB
Raw Blame History

title, subtitle, excerpt, layout
title subtitle excerpt layout
E Constant in std::math The value of Eulers number `e`. manual

The value of Eulers number e.

E: number = 2.71828182845904523536028747135266250_

Examples

exampleSketch = startSketchOn(XZ)
  |> startProfile(at = [0, 0])
  |> angledLine(angle = 30deg, length = 2 * E ^ 2)
  |> yLine(endAbsolute = 0)
  |> close()

example = extrude(exampleSketch, length = 10)

Rendered example of E 0